Worker: Use proper import syntax for loading WebWorkers
gkjohnson opened this issue · comments
Garrett Johnson commented
new Worker( new URL( './worker.js', import.meta.url ), { type: 'module' } );
Garrett Johnson commented
Parcel does not support this syntax, yet.
Garrett Johnson commented
Once it supports this consider switching to ESBuild for faster builds: