Skip to content

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

:art: 移动端前端编译目标设置为 es6 以兼容一些老的 WebView

Liang Dingb0b8ed621ac8
diff --git a/app/webpack.mobile.js b/app/webpack.mobile.js
index c18d71ed23..80f1d408fb 100644
--- a/app/webpack.mobile.js
+++ b/app/webpack.mobile.js
@@ -49,6 +49,9 @@ module.exports = (env, argv) => {
use: [
{
loader: "esbuild-loader",
+ options: {
+ target: "es6",
+ }
},
{
loader: "ifdef-loader",