Verified Commit 3bb73a60 authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Updated webpack config

parent d48b289b
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
*/ */
const {resolve} = require("path"); const {resolve} = require("path");
const glob = require("glob");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const optimizeCss = require("optimize-css-assets-webpack-plugin"); const optimizeCss = require("optimize-css-assets-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin");
...@@ -124,14 +122,6 @@ module.exports = { ...@@ -124,14 +122,6 @@ module.exports = {
} }
] ]
}, },
optimization: {
minimizer: [
new UglifyJsPlugin({
extractComments: "all",
test: [/\.tsx?$/, /\.jsx?$/]
})
]
},
plugins: [ plugins: [
new optimizeCss({ new optimizeCss({
cssProcessorOptions: { cssProcessorOptions: {
......
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