Skip to content
#

webworker

Here are 296 public repositories matching this topic...

neo
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
enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the webworker 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 webworker topic, visit your repo's landing page and select "manage topics."

Learn more