Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 438 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 438 Bytes

👷 Modules Wrangler template

NOTE: You must be using wrangler 1.16 or newer to use this template

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 in package.json.