Skip to content

Commit 35ff2a3

Browse files
committed
old
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
1 parent bee580f commit 35ff2a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vite.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ export default defineConfig({
2020
}),
2121
dynamicBase({
2222
// dynamic public path var string, default window.__dynamic_base__
23-
publicPath: "window.__dynamic_base__",
23+
publicPath: " window.__dynamic_base__",
2424
// dynamic load resources on index.html, default false. maybe change default true
25-
// transformIndexHtml: true,
26-
// transformIndexHtmlConfig: {
27-
// insertBodyAfter: true,
28-
// },
25+
transformIndexHtml: true,
26+
transformIndexHtmlConfig: {
27+
insertBodyAfter: true,
28+
},
2929
}),
3030
process.env.VITE_LITE !== "true"
3131
? viteStaticCopy({

0 commit comments

Comments
 (0)