To reproduce:
- Checkout the code.
npm install
npm run build
- Check the generated
main*.js
files, search for__webpack_require__.u
, and notice the following code:
/******/ __webpack_require__.u = (chunkId) => {
/******/ // return url for filenames based on template
/******/ return "" + chunkId + "." + undefined + ".js";
/******/ };
That undefined
is a problem, because it means the web worker name won't resolve. It should be the hash of the file instead.