Loading Web Workers with Webpack
Web workers, which we already took a look at in a previous post, are very useful for parallelizing long-running CPU-bound work client-side so it doesn't freeze up a website while it's running. If you're using Webpack, you have the option of compiling your worker script as a separate bundle using the worker loader.
Read more →