This is due to requiring the emscripten glue code in the worker, when the emscripten glue code is also built as part of the webpack build.