Skip to content

Commit

Permalink
Cleanup webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-noel committed Apr 28, 2024
1 parent 8a14771 commit 1630993
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const CompressionPlugin = require("compression-webpack-plugin");
const TerserPlugin = require("terser-webpack-plugin");
const path = require('path');

module.exports = {
Expand Down Expand Up @@ -49,21 +47,11 @@ module.exports = {
},
optimization: {
minimize: true,
// minimizer: [new TerserPlugin()],
// splitChunks: {
// chunks: 'all',
},
// },
// plugins: [
// new CompressionPlugin({
// test: /\.js/
// })
// ],
devtool: 'source-map',
entry: './frontend/src/index.js',
output: {
path: path.resolve(__dirname, "frontend/static/js"),
// publicPath: "frontend/static/js/",
filename: 'index.js',
chunkFilename: '[name].js'
},
Expand Down

0 comments on commit 1630993

Please sign in to comment.