cloudflare / cloudflare/worker-template

Use webpack instead of javascript

Open
#26 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
216
Forks
115
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.