change the base path to fix sub-paths on builds
Browse files- vite.config.ts +1 -1
vite.config.ts
CHANGED
@@ -4,7 +4,7 @@ import preact from '@preact/preset-vite';
|
|
4 |
|
5 |
// https://vitejs.dev/config/
|
6 |
export default defineConfig({
|
7 |
-
base: "",
|
8 |
plugins: [
|
9 |
// patchCssModules(),
|
10 |
preact({ // I had to disable HMR due to un Vite bug (@see https://github.com/privatenumber/vite-css-modules)
|
|
|
4 |
|
5 |
// https://vitejs.dev/config/
|
6 |
export default defineConfig({
|
7 |
+
base: "/",
|
8 |
plugins: [
|
9 |
// patchCssModules(),
|
10 |
preact({ // I had to disable HMR due to un Vite bug (@see https://github.com/privatenumber/vite-css-modules)
|