Skip to content
#

web-worker

Here are 184 public repositories matching this topic...

natew
natew commented Sep 26, 2019

Haven't seen this reporter anywhere, tried out alpha 27 and with workerize-loader I get this:

TypeError: this.cache.get is not a function
    at /Users/nw/projects/motion/orbit/node_modules/webpack/lib/Compilation.js:2186:18
    at arrayEach (/Users/nw/projects/motion/orbit/node_modules/neo-async/async.js:2405:9)
    at Object.each (/Users/nw/projects/motion/orbit/node_modules/neo-async
gpoitch
gpoitch commented Oct 1, 2018

I know this is specific to web workers, however I think this could be adapted to work for service workers. I was looking to create a separate plugin but the code would be mostly the same.

Looks like it scans the AST for a keyword (Worker) and generates an entry for the referenced file.

// web worker
new Worker('./foo.js', { type: 'module' })

// service worker
navigator.servi
joaom182
joaom182 commented Jul 28, 2018
Crash java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to load script from assets 'threads/pre-load-data-worker.thread.bundle'. Make sure your bundle is packaged correctly or you're running a packager server.

![screen shot 2018-07-28 at 11 29 18](https://user-images.githubusercontent.com/3612098/43357535-8379af28-9259-11e8-9c5a-96

Improve this page

Add a description, image, and links to the web-worker topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the web-worker topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.