Skip to content

Commit

Permalink
add optimizations + export mangling
Browse files Browse the repository at this point in the history
  • Loading branch information
0xerorn authored Jul 30, 2024
1 parent 389b203 commit 15cab7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const path = require('path');
const package = require('./package.json')

module.exports = {
watch: true,
mode: "development",
devtool: "inline-source-map",
entry: {
Expand All @@ -27,5 +28,9 @@ module.exports = {
{ test: /\.css$/, use: 'css-loader' }

]
}
};
},
optimization: {
mangleExports: 'deterministic',
minimize: true,
},
};

0 comments on commit 15cab7d

Please sign in to comment.