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
I am working on an Angular 6 app, and I am trying to use a web worker Worker (via ngx-web-worker) to perform some complex and CPU-expensive operations. I have the following service:
I am working on an Angular 6 app, and I am trying to use a web worker
Worker
(viangx-web-worker
) to perform some complex and CPU-expensive operations. I have the following service:where
my-script.script.ts
contains the following:and
helper.class.ts
contains the following:The class
HelperClass
is not imported in any Angular module. The app builds fine, but at runtime I get an error with the following message:How can I give webpack the information it needs?
https://stackoverflow.com/questions/54519923/how-can-webpack-serve-files-to-a-web-worker-in-an-angular-6-app
The text was updated successfully, but these errors were encountered: