Skip to content

Commit d4181af

Browse files
committed
add context path to base config
1 parent e51dd81 commit d4181af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/build/webpack.base.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function resolve (dir) {
99
}
1010

1111
module.exports = {
12+
context: path.resolve(__dirname, '../'),
1213
entry: {
1314
app: './src/main.js'
1415
},

0 commit comments

Comments
 (0)