Skip to content

Commit 99345de

Browse files
Changing the baseUrl.
Vite baseUrl wasn't set, so the assets may have not been loading in possibly that way?
1 parent 47e05a4 commit 99345de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import glsl from 'vite-plugin-glsl'
66

77
// https://vitejs.dev/config/
88
export default defineConfig({
9+
base: '',
910
plugins: [react(), glsl()],
1011

1112
assetsInclude: ["**/*.GLSL", "assets/*", "**/*.PNG"],

0 commit comments

Comments
 (0)