Sha256: 6d4c59f30aaa6fd4330b507423a89f2079c0feeeb9605c8786d68abfd919aab6
Contents?: true
Size: 624 Bytes
Versions: 5
Compression:
Stored size: 624 Bytes
Contents
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin') const merge = require('webpack-merge') const baseConfig = require('./base.config.js') const env = 'production' module.exports = merge(baseConfig, { mode: env, plugins: [ new OptimizeCssAssetsPlugin({ filename: '[name].css', chunkFilename: '[id].css', cssProcessorPluginOptions: { preset: [ 'default', { discardComments: { removeAll: true } } ] } }) ], optimization: { splitChunks: { chunks: 'all' } } })
Version data entries
5 entries across 5 versions & 1 rubygems