We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79ae566 + 0beb7ed commit 0c28d98Copy full SHA for 0c28d98
webpack/config.prod.js
@@ -141,7 +141,11 @@ module.exports = [{
141
]
142
},
143
optimization: {
144
- minimizer: [new TerserJSPlugin({}), new OptimizeCSSAssetsPlugin({})],
+ minimize: true,
145
+ minimizer: [new TerserJSPlugin({
146
+ sourceMap: true,
147
+ parallel: true
148
+ }), new OptimizeCSSAssetsPlugin()],
149
150
plugins: [
151
new ManifestPlugin({
@@ -165,6 +169,7 @@ module.exports = [{
165
169
166
170
167
171
target: 'web',
172
+ devtool: 'source-map',
168
173
mode: 'production',
174
output: {
175
path: path.resolve(__dirname, '../dist/static'),
@@ -189,5 +194,12 @@ module.exports = [{
189
194
}
190
195
191
196
192
- }
197
+ },
198
+ optimization: {
199
200
201
202
203
+ })],
204
193
205
}];
0 commit comments