Skip to content

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

:bug: 移动端较老 WebView 版本启动后卡在加载界面 https://github.com/siyuan-note/siyuan/issues/7660 https://github.com/siyuan-note/siyuan/issues/7616

Liang Ding57d9f84da3a7
diff --git a/app/webpack.desktop.js b/app/webpack.desktop.js
index c8ed207a93..286c5ff6c1 100644
--- a/app/webpack.desktop.js
+++ b/app/webpack.desktop.js
@@ -23,7 +23,7 @@ module.exports = (env, argv) => {
optimization: {
minimize: true,
minimizer: [
- new EsbuildPlugin(),
+ new EsbuildPlugin({target: "es6"}),
],
},
resolve: {
@@ -49,6 +49,9 @@ module.exports = (env, argv) => {
use: [
{
loader: "esbuild-loader",
+ options: {
+ target: "es6",
+ }
},
{
loader: "ifdef-loader",