增加快速启动的研发模式fast
This commit is contained in:
@@ -10,17 +10,14 @@ module.exports = {
|
||||
filename: 'index.html'
|
||||
}
|
||||
},
|
||||
transpileDependencies: [/node_modules[/\\]dvcp-dv-ui/, /node_modules[/\\]dvcp-ui(.+)utils.js/],
|
||||
transpileDependencies: [/node_modules[/\\]dvcp-ui(.+)utils.js/],
|
||||
chainWebpack: (config) => {
|
||||
config.module
|
||||
.rule('js')
|
||||
.include.add(path.resolve(__dirname, 'packages'))
|
||||
.add(path.resolve(__dirname, 'subPackages'))
|
||||
.add(path.resolve(__dirname, 'core'))
|
||||
.add(path.resolve(__dirname, 'project'))
|
||||
.add(path.resolve(__dirname, 'oms'))
|
||||
.add(path.resolve(__dirname, 'examples'))
|
||||
.add(path.resolve(__dirname, 'node_modules/dvcp-dv-ui'))
|
||||
.add(path.resolve(__dirname, 'node_modules/dvcp-ui'))
|
||||
.end()
|
||||
.use('babel')
|
||||
|
||||
Reference in New Issue
Block a user