持续集成分支

This commit is contained in:
aixianling
2024-10-10 16:04:11 +08:00
parent f35c272a19
commit 00b2dbb4a4
38 changed files with 2222 additions and 111 deletions

View File

@@ -13,15 +13,19 @@ module.exports = {
},
transpileDependencies: [/dui[\\\/]lib[\\\/]js/],
chainWebpack: (config) => {
config.resolve.alias
.set('@packages', path.resolve(__dirname, 'packages'))
.set('@project', path.resolve(__dirname, 'project'))
config.module
.rule('js')
.include
.add(path.resolve(__dirname, 'packages'))
.add(path.resolve(__dirname, 'components'))
.add(path.resolve(__dirname, 'project'))
.add(path.resolve(__dirname, 'examples'))
.add(path.resolve(__dirname, 'ui'))
.end().use('babel').loader('babel-loader').tap(options => options);
.add(path.resolve(__dirname, 'ui/packages'))
.add(path.resolve(__dirname, 'ui/dv'))
.add(path.resolve(__dirname, 'ui/lib/js'))
.end().use('babel').loader('babel-loader').tap(options => options)
config.plugin("limit").use(require("webpack/lib/optimize/LimitChunkCountPlugin"), [{maxChunks: 20}]).tap(options => options)
},
devServer: {