config extension to use ?raw in vite.config.js? #7351
Pyrolistical
started this conversation in
General
Replies: 1 comment
-
Even with import trutruc from './trutruc.toto?raw'
|
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.
-
The documentation shows an example on how to import a file as a string.
But is it possible to configure all
.glsl
files should be loaded as string invite.config.js
? It seems silly to have to append?raw
to every importBeta Was this translation helpful? Give feedback.
All reactions