This commit is contained in:
Vanessa 2022-11-16 22:23:32 +08:00
parent bb565a7680
commit a837d00520

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'),