An open API service indexing awesome lists of open source software.

https://github.com/tmpfs/webpack-worker-bug

Webpack worker bug
https://github.com/tmpfs/webpack-worker-bug

Last synced: 4 months ago
JSON representation

Webpack worker bug

Awesome Lists containing this project

README

        

# Webpack Worker Bug

Reproduces an issue whereby a `Worker` is sometimes instantiated twice using `webpack@5`.

The messages *App is rendering* and *Creating worker* are always printed once, however *Worker is running* is sometimes printed twice. This may not be the first time the page loads and you may need to refresh the window/tab to reproduce this.

Note that this does not appear to only exist when running the dev server, production builds also exhibit this behavior.

Tested in Firefox 95.0.2 and Chrome 92.0.4515.107.