Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.enableSassLoader()
.enablePostCssLoader()
.splitEntryChunks()
.configureSplitChunks(function (splitChunks) {
// https://webpack.js.org/plugins/split-chunks-plugin/
//splitChunks.name = !Encore.isProduction();
splitChunks.cacheGroups = {
vendors: {
test: /[\\/]node_modules[\\/]|bootstrap.(js|scss)/
}
}
})
;
if (Encore.isProduction()) {
Encore.cleanupOutputBeforeBuild()
}
module.exports = Encore.getWebpackConfig();