I want to use use a web worker and the docs say that no loader is needed and make it look super simple but I haven’t had any luck. I’m guessing it’s webpack config but I’ve not managed to get anything working.
This question seems most similar to what I’m getting as using
new URL(...) has an origin of
file:// instead of
http. and that leads to a error of
Failed to construct 'Worker': Script at 'file:///Users/kurthutten/other/redwoodblog/app/web/src/helpers/cadPackages/jsCad/jscad-worker.worker.js'
public folder but that not a long term solution.