Using Web Workers with Webpack 5
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...
blog.leodriesch.com2 min read
Ron Gootman
Hey Leo! any way you can provide an example of using comlink together with Webpack 5?