worker-loader Questions

2

Solved

I've been using the webpack webworker loader for a while now. And we're now migrating to Angular 7 and started using typescript. After following many guides and tuturials and this amazing issue po...
Apiarian asked 17/12, 2018 at 15:22

2

I use Vue 2 with Common.js to generate an AMD Bundle. I need to be able to automatically register my service worker on runtime. Something that works: https://www.npmjs.com/package/worker-plugin htt...
Bakunin asked 8/6, 2021 at 7:32

1

Solved

hi I'm trying to use mapbox-gl in React with this tutorial. and I'm getting this error : Unexpected '!' in 'worker-loader!mapbox-gl/dist/mapbox-gl-csp-worker' while importing "worker-loader!ma...
Buffalo asked 4/3, 2021 at 14:22

1

I need to create an CRA(create-react-app) app with multiple workers. As an example (my workers include import modules): // worker.js import x from 'file-xxx.js' addEventListener('message', e =>...
Showiness asked 29/7, 2019 at 8:47

2

I'm trying to load a web worker script into my React application by using webpack's worker loader. However, I get a module not found error. ERROR in ./src/index.js Module not found: Error: Can't...
Plus asked 29/12, 2018 at 2:13

2

Solved

I am configuring my project as described in worker-loader documentation and I was able to get TS code intel working using the correct d.ts. However, during webpack build it throws an error and I d...
Buskus asked 7/5, 2018 at 8:55

1

I have the following service worker code in my Vue app: main.js if (navigator.serviceWorker) { navigator.serviceWorker.register('/service-worker.js').catch(function() { console.log('Service wor...
1

© 2022 - 2024 — McMap. All rights reserved.