How to watch for extra files when using vite dev
?
#19750
Replies: 1 comment
-
I found one way in SO. I don't know whether advisable, but it is useful for practising. It's importing it as a string. The TL;DR is to use // wgsl.d.ts
declare module "*.wgsl?raw" {
const value: string;
export default value;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've tried un-ignoring, but it does not change anything. Unsure what to use here to watch other files that I include in my
index.html
(in this case WGSL files.)Beta Was this translation helpful? Give feedback.
All reactions