chore: fix sourceMap boolean in terser plugin
This commit is contained in:
parent
825e13bcf3
commit
a3bd9aa1c5
@ -123,9 +123,6 @@ module.exports = (env, argv, { SRC_DIR, DIST_DIR }) => {
|
|||||||
if (isProdBuild) {
|
if (isProdBuild) {
|
||||||
config.optimization.minimizer = [
|
config.optimization.minimizer = [
|
||||||
new TerserJSPlugin({
|
new TerserJSPlugin({
|
||||||
// Supports:
|
|
||||||
// source-map and inline-source-map
|
|
||||||
sourceMap: isProdBuild && !isQuickBuild,
|
|
||||||
parallel: true,
|
parallel: true,
|
||||||
terserOptions: {},
|
terserOptions: {},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user