公共组件、公共样式集合
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
411 B

const path = require('path')
module.exports = {
chainWebpack: config => {
config.devServer.watchOptions({
ignored: /node_modules/,
poll: 1000 // 检查文件变化的频率
})
},
lintOnSave: false,
configureWebpack: {
resolve: {
alias: {
// 别名
'@assets': path.resolve(__dirname, '../packages/assets')
}
}
}
}