forked from xxhjsb/hbt-prevention-ui
feat:相对路径修正
parent
28d2638a3a
commit
288ef5dd47
|
@ -7,7 +7,7 @@ const resolve = (dir) => {
|
||||||
return path.join(__dirname, dir);
|
return path.join(__dirname, dir);
|
||||||
};
|
};
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
publicPath: process.env.VUE_APP_EXPOSES_URL,
|
publicPath: "./",
|
||||||
productionSourceMap: process.env.NODE_ENV !== "production",
|
productionSourceMap: process.env.NODE_ENV !== "production",
|
||||||
transpileDependencies: true,
|
transpileDependencies: true,
|
||||||
lintOnSave: true, // 在保存时校验格式
|
lintOnSave: true, // 在保存时校验格式
|
||||||
|
|
Loading…
Reference in New Issue