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 loader! #178

Open
natew opened this issue Jul 17, 2018 · 2 comments
Open

Worker loader! #178

natew opened this issue Jul 17, 2018 · 2 comments

Comments

@natew
Copy link

natew commented Jul 17, 2018

Just added this to our stack: https://github.com/developit/workerize-loader/issues

Which worked very nicely. Though I'd have liked some more typescript.

Is something like this doable in pundle?

@steelbrain
Copy link
Owner

It is doable yes. Pundle doesn't support the ./something!worker syntax so Pundle users (or Parcel users if Parcel ever decides to support this) will have to use file paths like something.worker.js to distinguish between normal and worker files.

But that has the false positive aspect where normal files that are already published and written under that schema may break. Supporting this requires research into different ways before choosing one

@natew
Copy link
Author

natew commented Jul 17, 2018 via email

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

No branches or pull requests

2 participants