When using a worker-loader in webpack to load the worker, importScripts inside the worker no longer maintain the worker context. Which it should according to https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
Follow these steps to reproduce the issue
- Uncomment line 1 and 2 in example.js
- Comment line 3 in example.js
- Run webpack
- Run
http-serverin the root of the repo - Observe the console.

