|
@@ -13,7 +13,8 @@ const { buildEnv } = baseConfig.extra;
|
13
|
13
|
const config = {
|
14
|
14
|
...baseConfig,
|
15
|
15
|
devtool: false,
|
16
|
|
- mode: 'production',
|
|
16
|
+ // mode: 'production',
|
|
17
|
+ mode: 'development',
|
17
|
18
|
output: {
|
18
|
19
|
...baseConfig.output,
|
19
|
20
|
filename: '[name].js'
|
|
@@ -94,9 +95,9 @@ const config = {
|
94
|
95
|
optimization: {
|
95
|
96
|
runtimeChunk: false,
|
96
|
97
|
minimizer: [
|
97
|
|
- new UglifyJsPlugin({
|
98
|
|
- exclude: /.*ts-worker.*/
|
99
|
|
- }),
|
|
98
|
+ // new UglifyJsPlugin({
|
|
99
|
+ // exclude: /.*ts-worker.*/
|
|
100
|
+ // }),
|
100
|
101
|
new OptimizeCSSAssetsPlugin({})
|
101
|
102
|
]
|
102
|
103
|
}
|