Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught SyntaxError: Unexpected token < #18
I wanted to create an npm package that internally uses web worker. I got working configuration for that in the
then I could use my library in some react project like that
Board generator is my npm library that uses it's web worker.
When I switched to this plugin I get an error that it cannot find web worker. Everything compiles properly and I am able to see use it in live mode in the browser. (From this project
Old version with
I appreciate your work for using webworker with module imports. Any plans of supporting web workers that are imported from node_modules lib. Now there are two libraries:
I wish to switch from worker-loader to this plugin for module importing support in web workers but I stuck
Bundling a worker to a data URI is generally not a good idea. It's putting extra strain on the parser in the main thread for no reason.
I'm not sure there is a reasonable way to make this work - webpack's output isn't really designed to be nested inside another Webpack bundle, it breaks things like pathing.