mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-15 15:28:37 +08:00
This commit is contained in:
parent
22d34c755b
commit
e015f72945
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<link rel="apple-touch-icon" href="../../icon.png">
|
||||
<style id="editorAttr" type="text/css"></style>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials">
|
||||
<link rel="apple-touch-icon" href="../../icon.png">
|
||||
|
||||
@ -111,7 +111,6 @@ const renderPDF = async (id: string) => {
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="mobile-web-app-capable" content="yes"/>
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="stylesheet" type="text/css" id="baseStyle" href="${servePath}/stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
|
||||
@ -663,7 +662,6 @@ const onExport = async (data: IWebSocketData, filePath: string, exportOption: IE
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="mobile-web-app-capable" content="yes"/>
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="stylesheet" type="text/css" id="baseStyle" href="stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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/",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user