Skip to content

Make vite compatible with rollup workers #11

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raphaelluchini
Copy link

@raphaelluchini raphaelluchini commented Dec 10, 2022

The main repository included Vite to watch and build the sample which is quite fast. As the fork uses workers, we need to adapt rollup to work with the same pattern.

Disclaimer:
Firefox does not support ecmascript modules on workers(used by Vite), so workers won't work in dev mode for Firefox, you can find out more here:
vitejs/vite#8621
https://caniuse.com/mdn-api_worker_worker_ecmascript_modules
https://bugzilla.mozilla.org/show_bug.cgi?id=1247687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant