Include JS Asset: "Identifier X has already been declared"
If I include JavaScript like the docs say, it doesn't bundle it through vite, so this doesn't work:
If I use the Vite facade it does load the correct file, but I get "Identifier X has already been declared", because vite doesn't know, that there are other assets as well.
How can I avoid this problem?
2 Replies