-
Updated
Sep 14, 2020 - JavaScript
web-worker
Here are 184 public repositories matching this topic...
-
Updated
Oct 24, 2020 - HTML
-
Updated
Dec 31, 2019 - JavaScript
-
Updated
Nov 18, 2020 - JavaScript
-
Updated
Mar 13, 2020 - JavaScript
-
Updated
Aug 6, 2019 - JavaScript
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-
Updated
Nov 18, 2020 - TypeScript
-
Updated
Sep 16, 2020 - JavaScript
-
Updated
Aug 31, 2020 - JavaScript
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.


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