Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
optimization: {
...prodConfig.optimization,
minimizer: [
uglifyJsPlugin,
new OptimizeCSSAssetsPlugin({
cssProcessorOptions: {
zindex: false
}
})
]
},
plugins: pipe(
removePlugin('HtmlWebpackPlugin'),
removePlugin('ScriptExtHtmlWebpackPlugin'),
removePlugin('PreloadWebpackPlugin')
)(prodConfig.plugins)
})
}