A template for kick starting a Cloudflare Workers project using:
- Modules (ES Modules to be specific)
- Rollup
- Wrangler
Worker code is in src/index.mjs
.
Rollup is configured to output a bundled ES Module to dist/index.mjs
.
- This bundle is also configured to be the main module, using the
module
key inpackage.json
.