That's how vite works. As far as I know you cannot opt out of that. Why do you need to?
Oct 9, 2022
2
Level 11
Vite Config not type="module" but type="text/javascript"
I.m new to Vite. Before I used Grunt now I got some issues, with some helper functions.
I can't reach theme anymore.
The script tag is with module like this
type="module"
What I want is
type="text/javascript"
Is there a way to set this in the config, or does some one knows an other solution?
Thanks in advanced
Please or to participate in this conversation.