Skip to content
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

Worker: Use proper import syntax for loading WebWorkers #54

Open
gkjohnson opened this issue Dec 5, 2020 · 2 comments
Open

Worker: Use proper import syntax for loading WebWorkers #54

gkjohnson opened this issue Dec 5, 2020 · 2 comments
Milestone

Comments

@gkjohnson
Copy link
Owner

gkjohnson commented Dec 5, 2020

new Worker( new URL( './worker.js', import.meta.url ), { type: 'module' } );
@gkjohnson gkjohnson added this to the v0.0.2 milestone Dec 5, 2020
@gkjohnson
Copy link
Owner Author

Parcel does not support this syntax, yet.

@gkjohnson gkjohnson modified the milestones: v0.0.2, v0.0.x Dec 28, 2020
@gkjohnson
Copy link
Owner Author

Once it supports this consider switching to ESBuild for faster builds:

https://github.com/evanw/esbuild

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

No branches or pull requests

1 participant