Skip to content

Commit 145492b

Browse files
author
Guillaume Chau
committed
fix(ui): yarn link @vue/ui
1 parent 251509c commit 145492b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/@vue/cli-ui/vue.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1+
const merge = require('deepmerge')
2+
const path = require('path')
3+
14
module.exports = {
25
pluginOptions: {
36
graphqlMock: false,
47
apolloEngine: false,
58
graphqlTimeout: 1000000
9+
},
10+
configureWebpack: {
11+
resolve: {
12+
symlinks: false
13+
}
14+
},
15+
chainWebpack: config => {
16+
config.module.rule('stylus').oneOf('vue').use('postcss-loader')
17+
.tap(options =>
18+
merge(options, {
19+
config: {
20+
path: path.resolve(__dirname, '.postcssrc')
21+
}
22+
})
23+
)
624
}
725
}

0 commit comments

Comments
 (0)