You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I use worker-loader which creates another chunk, I guess.
I solved it for me now by creating another webpack-config file.
The new configuration has the imported file from the worker as the entry point. The output will be used with importScripts('another-bundle.js');, instead of using import {MyClass} from './my-actual-file';
Hi
I've an issue where a Web Worker tries to use a global "ng" from Angular (to extend a class), which is not present inside a worker.
How can I tell your plugin to ignore these worker-files and use the normal webpack behaviour?
kind regards,
Christian
The text was updated successfully, but these errors were encountered: