Commit 72ac6590 authored by Tim Neutkens's avatar Tim Neutkens

Make terserPlugin easier to comment out

parent 6b694a50
...@@ -90,11 +90,13 @@ function optimizationConfig ({dir, dev, isServer, totalPages}) { ...@@ -90,11 +90,13 @@ function optimizationConfig ({dir, dev, isServer, totalPages}) {
} }
// Terser is a better uglifier // Terser is a better uglifier
config.minimizer = [new TerserPlugin({ config.minimizer = [
new TerserPlugin({
parallel: true, parallel: true,
sourceMap: false, sourceMap: false,
cache: true cache: true
})] })
]
// Only enabled in production // Only enabled in production
// This logic will create a commons bundle // This logic will create a commons bundle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment