Run via yarn start
or with file://
scheme, run Chrome with --allow-file-access-from-files
flag set on.
Worker scripts are external files with the same scheme as their calling page.
use
type="javascript/worker"
so that browser doesn't parse the JS