Skip to content

Commit d5fc294

Browse files
author
AvatarOS Developer
committed
updated vite.config deprecated glob
1 parent 91200d1 commit d5fc294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url";
55
const resolveSrc = (path) => fileURLToPath(new URL(`./src/${path}`, import.meta.url));
66

77
export default defineConfig({
8-
plugins: [glsl()],
8+
plugins: [glsl({ query: '?url', import: 'default' })],
99
optimizeDeps: {
1010
include: ["tweakpane"],
1111
},

0 commit comments

Comments
 (0)