-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
production build fails with @crxjs/vite-plugin #11
Comments
Maybe crxjs/vite-plugin does not respect the Vite specification? The Vite documentation clearly says that |
before I go there to create an issue, I'd like to clarify couple of things (sorry if I'd sound stupid, I'm a backend developer and this is my 1st journey JS and frontend world :)):
|
@sjrd , after some random attempts, I was able to make it work by doing this in scala-js plugin:
I don't fully understand what I have changed, but if it makes sense to you, I'll create a PR |
I was trying to make a POC chrome extension using @crxjs/vite-plugin.
npm run dev
worked great (live-reloaded, catched changes in scala code etc.) , butnpm run build
failed:To reproduce:
npm i
*npm run build
The text was updated successfully, but these errors were encountered: