mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
d5f292fde0
commit
0ce4b9b118
6 changed files with 59 additions and 10 deletions
|
|
@ -13,7 +13,8 @@ module.exports = (env, argv) => {
|
|||
watch: argv.mode !== "production",
|
||||
devtool: argv.mode !== "production" ? "eval" : false,
|
||||
output: {
|
||||
publicPath: "auto",
|
||||
// 不能使用 auto,否则 ios 导出图片获取不到 css。 https://github.com/siyuan-note/siyuan/issues/8532
|
||||
publicPath: "/stage/build/mobile/",
|
||||
filename: "[name].[chunkhash].js",
|
||||
path: path.resolve(__dirname, "stage/build/mobile"),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue