This repository was archived by the owner on Sep 9, 2021. It is now read-only.

Description
the sharedworker for mutile tab,when every time inline URL.createObjectURL will produce new hash url, every tab will has a new sharedworker.
const source = 'importScript("https://anotherhost/worker.js")';
const url = 'data:application/javascript;base64,' + btoa(source);
const worker = new SharedWorker(url);
Base64 encoding gives a permanent URL until the source code changes. maybe should support this ?
- Operating System:
- Node Version:
- NPM Version:
- webpack Version:
- worker-loader Version:
Feature Proposal
Feature Use Case