This commit is contained in:
Vanessa 2023-06-15 10:20:06 +08:00
parent d5f292fde0
commit 0ce4b9b118
6 changed files with 59 additions and 10 deletions

View file

@ -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"),
},