提交 161614b7 编写于 作者: J JiM-W

feat: 支持weex多bundle自定义bundle名称

上级 8f20b32a
...@@ -13,7 +13,7 @@ const ChameleonErrorsWebpackPlugin = require('chameleon-errors-webpack-plugin'); ...@@ -13,7 +13,7 @@ const ChameleonErrorsWebpackPlugin = require('chameleon-errors-webpack-plugin');
const fs = require('fs'); const fs = require('fs');
const cmlUtils = require('chameleon-tool-utils'); const cmlUtils = require('chameleon-tool-utils');
const ExtraWatchWebpackPlugin = require('extra-watch-webpack-plugin'); const ExtraWatchWebpackPlugin = require('extra-watch-webpack-plugin');
const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin'); // const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin');
module.exports = function (options) { module.exports = function (options) {
let { let {
...@@ -204,11 +204,11 @@ module.exports = function (options) { ...@@ -204,11 +204,11 @@ module.exports = function (options) {
dirs: [path.join(cml.projectRoot, 'mock/api')] dirs: [path.join(cml.projectRoot, 'mock/api')]
}) })
); );
commonConfig.plugins.push( // commonConfig.plugins.push(
new DuplicatePackageCheckerPlugin({ // new DuplicatePackageCheckerPlugin({
verbose: true // verbose: true
}) // })
); // );
} }
// 兼容旧版api // 兼容旧版api
commonConfig.plugins.push(new webpack.DefinePlugin({ commonConfig.plugins.push(new webpack.DefinePlugin({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册