This commit is contained in:
Vanessa 2022-11-16 22:20:15 +08:00
parent a96190dda2
commit 02c7f01a3d
3 changed files with 34 additions and 27 deletions

View file

@ -23,19 +23,19 @@ module.exports = (env, argv) => {
entry: {
'protyle-method': './src/protyle/method.ts',
},
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
terserOptions: {
format: {
comments: false,
},
},
extractComments: false,
}),
],
},
// optimization: {
// minimize: true,
// minimizer: [
// new TerserPlugin({
// terserOptions: {
// format: {
// comments: false,
// },
// },
// extractComments: false,
// }),
// ],
// },
resolve: {
fallback: {
'path': require.resolve('path-browserify'),