We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1235cff commit d428243Copy full SHA for d428243
vite.config.ts
@@ -22,6 +22,9 @@ export default defineConfig({
22
publicPath: " window.__dynamic_base__",
23
// dynamic load resources on index.html, default false. maybe change default true
24
transformIndexHtml: true,
25
+ transformIndexHtmlConfig: {
26
+ insertBodyAfter: true,
27
+ },
28
}),
29
],
30
base: process.env.NODE_ENV === "production" ? "/__dynamic_base__/" : "/",
0 commit comments