Webpack 5 came with native support for Web Workers and made it pretty easy to use them in your application. To instantiate a worker you have to call its constructor and use the URL-constructor to specify its file path: const worker = new Worker(new U...
Markdown supported · ⌘↵ to post
Ron Gootman
Hey Leo! any way you can provide an example of using comlink together with Webpack 5?