diff --git a/app/src/assets/template/app/window.tpl b/app/src/assets/template/app/window.tpl
index a3a8b1a59..fd64eb9db 100644
--- a/app/src/assets/template/app/window.tpl
+++ b/app/src/assets/template/app/window.tpl
@@ -4,7 +4,7 @@
-
+
diff --git a/app/src/assets/template/desktop/index.tpl b/app/src/assets/template/desktop/index.tpl
index 9f4ba442d..f295998e7 100644
--- a/app/src/assets/template/desktop/index.tpl
+++ b/app/src/assets/template/desktop/index.tpl
@@ -4,7 +4,7 @@
-
+
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index ca8710f43..3737e3d8d 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -111,7 +111,6 @@ const renderPDF = async (id: string) => {
-
@@ -663,7 +662,6 @@ const onExport = async (data: IWebSocketData, filePath: string, exportOption: IE
-
diff --git a/app/webpack.config.js b/app/webpack.config.js
index 5d9983c72..f768f2665 100644
--- a/app/webpack.config.js
+++ b/app/webpack.config.js
@@ -10,7 +10,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
target: "electron-renderer",
output: {
publicPath: "auto",
diff --git a/app/webpack.desktop.js b/app/webpack.desktop.js
index 2ae81ac38..cccd85439 100644
--- a/app/webpack.desktop.js
+++ b/app/webpack.desktop.js
@@ -11,7 +11,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
publicPath: "/stage/build/desktop/",
filename: "[name].[chunkhash].js",
diff --git a/app/webpack.export.js b/app/webpack.export.js
index dd4bc607d..d70528768 100644
--- a/app/webpack.export.js
+++ b/app/webpack.export.js
@@ -10,7 +10,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
publicPath: "auto",
filename: "[name].js",
diff --git a/app/webpack.mobile.js b/app/webpack.mobile.js
index 7c6844144..9c5e78237 100644
--- a/app/webpack.mobile.js
+++ b/app/webpack.mobile.js
@@ -11,7 +11,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
// 不能使用 auto,否则 ios 导出图片获取不到 css。 https://github.com/siyuan-note/siyuan/issues/8532
publicPath: "/stage/build/mobile/",