Closed macCesar closed 1 year ago
That's actually one of the issues i'm working on right now with the upgrade to Vite 4. There is a custom Vite plugin that will scan source code for dynamic requires and it can't handle a few things properly, like template literals.
This should now be fixed in the latest alpha release.
I'm getting
invalid JS syntax
with code like this:If I change the backticks ( ` ) to single/double quotes OR remove the slash ( / ).. the error goes away!
Of course I can change it to use single/double quotes, but what about when using backticks, variables and closing tags?