There's no way to <link rel=preload>
a Web Worker. This fixes that.
npm i -S gist:developit/567dde2346d785b2628224fddbf6783c
<!-- workers are now just a normal script preload: -->
<link rel=preload href=/path/to/worker.js as=script crossorigin>
import PreloadableWorker from 'preloadable-worker';
// use PreloadableWorker instead of Worker
const worker = new PreloadableWorker('/path/to/worker.js', { name: 'my-worker' });
worker.postMessage('hello');