Open grctest opened 8 months ago
I reviewed our archetype app and we do nothing with virtual:i18next-loader
to make it work.
To me, it looks like this path actually doesn't exist where rollup (via vite) is looking for it, so you might have a path problem?
Despite the console error in the dev terminal, the virtual module functions as expected.
I've created a discussion in the Vite repo in case it's an issue to do with virtual modules during vite build
https://github.com/vitejs/vite/discussions/16142
I have been working on implementing electron context isolation & disabling render node integration for application security best practices & the error was not breaking the build process prior to these changes, so perhaps that's a factor too?
I'm getting this blocking error during build:
I tried adding the following to my vite config without success:
Is there a configuration I'm missing for rollup to support vite virtual modules?
Thanks