X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.app.geo.js%2Fwebpack.common.js;h=f57ff6696fa01e678decb8d06610c751803a8df4;hb=a12e816b586ab70361e1f448ae2564561b99a565;hp=4213dc5bae3d85783893cd43612294fcd8a1656b;hpb=21433ef7b049abb44bbd3c815b6724a15912accf;p=gpl%2Fargeo-suite.git diff --git a/org.argeo.app.geo.js/webpack.common.js b/org.argeo.app.geo.js/webpack.common.js index 4213dc5..f57ff66 100644 --- a/org.argeo.app.geo.js/webpack.common.js +++ b/org.argeo.app.geo.js/webpack.common.js @@ -1,5 +1,5 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); +//const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const path = require('path'); @@ -19,11 +19,11 @@ module.exports = { splitChunks: { chunks: 'all', }, - minimizer: [ - // For webpack@5 you can use the `...` syntax to extend existing minimizers (i.e. `terser-webpack-plugin`), uncomment the next line - `...`, - new CssMinimizerPlugin(), - ], +// minimizer: [ +// // For webpack@5 you can use the `...` syntax to extend existing minimizers (i.e. `terser-webpack-plugin`), uncomment the next line +// `...`, +// new CssMinimizerPlugin(), +// ], }, module: { rules: [ @@ -37,7 +37,7 @@ module.exports = { ], }, plugins: [ - // deal with CSS +// // deal with CSS new MiniCssExtractPlugin(), // deal with HTML generation new HtmlWebpackPlugin({