We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b224695 commit 52fd257Copy full SHA for 52fd257
1 file changed
vite.config.ts
@@ -6,7 +6,8 @@ import tsconfigPaths from 'vite-tsconfig-paths';
6
import tailwindcss from "@tailwindcss/vite";
7
import path from 'path';
8
9
-export default defineConfig({
+export default defineConfig(({ command }) => ({
10
+ base: command === 'build' ? '/.theme/' : '/',
11
plugins: [
12
tsconfigPaths(),
13
preact({
@@ -46,4 +47,4 @@ export default defineConfig({
46
47
]
48
}
49
-});
50
+}));
0 commit comments