Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/6619

Vanessaa837d005200c
diff --git a/app/webpack.export.js b/app/webpack.export.js
index 07bc5ead5f..00713faae4 100644
--- a/app/webpack.export.js
+++ b/app/webpack.export.js
@@ -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'),