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}) {
}
// Terser is a better uglifier
config.minimizer = [new TerserPlugin({
parallel: true,
sourceMap: false,
cache: true
})]
config.minimizer = [
new TerserPlugin({
parallel: true,
sourceMap: false,
cache: true
})
]
// Only enabled in production
// 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