Have this default template use webpack as a type in wrangler.toml
Then move index.js to ./src/index.js and update package.json?
I am not sure if it will confuse users by now having src, workers-site and worker directories that all contain a worker script though. This probably needs design
Have this default template use webpack as a type in wrangler.toml
Then move index.js to
./src/index.jsand update package.json?I am not sure if it will confuse users by now having
src,workers-siteandworkerdirectories that all contain a worker script though. This probably needs design