mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
bb565a7680
commit
a837d00520
1 changed files with 13 additions and 13 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue