Skip to content

Commit 1c95dc2

Browse files
author
Guillaume Chau
committed
fix(ui): webpack error after creating a new project
1 parent 5075f4b commit 1c95dc2

File tree

1 file changed

+2
-0
lines changed
  • packages/@vue/cli-ui/src/graphql-api/connectors

1 file changed

+2
-0
lines changed

packages/@vue/cli-ui/src/graphql-api/connectors/tasks.js

+2
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ async function run (id, context) {
265265
}, context)
266266
}
267267

268+
process.env.VUE_CLI_CONTEXT = cwd.get()
269+
268270
const child = execa(command, args, {
269271
cwd: cwd.get(),
270272
stdio: ['inherit', 'pipe', 'pipe', 'ipc']

0 commit comments

Comments
 (0)