Skip to content

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

:bug: Use globalThis in MP3 recording workers https://github.com/siyuan-note/siyuan/issues/11727

Daniel9306b9334bce
diff --git a/app/webpack.config.js b/app/webpack.config.js
index bd0653ecef..9d00e1bfd5 100644
--- a/app/webpack.config.js
+++ b/app/webpack.config.js
@@ -13,6 +13,7 @@ module.exports = (env, argv) => {
devtool: argv.mode !== "production" ? "eval-source-map" : false,
target: "electron-renderer",
output: {
+ globalObject: "globalThis",
publicPath: "auto",
filename: "[name].[chunkhash].js",
path: path.resolve(__dirname, "stage/build/app"),