You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I think I’d prefer some light config for the filename pattern. Really
plugins are fine for this case. Because you should be able to make the api
mostly transparent as opposed to workerize which forced a weird constructor
pattern in between.
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?
The text was updated successfully, but these errors were encountered: