outloudvi / worker-webpack-es2020

Write Cloudflare Workers scripts with ES2020? Easy!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

worker-webpack-es2020

npx degit outloudvi/worker-webpack-es2020

Want to use pretty ES2020 features when writing Cloudflare Workers scripts? It's possible thanks for Webpack and Babel.

Is it difficult to configure? Maybe yes, but not with this template repository.

This sample adds support for optional chaining.

See https://babeljs.io/docs/en/plugins for more plugins that you may want to use. To use them, install them as devDependencies and add them to .babelrc.js.

See also: detroitenglish/cloudflare-workers-webpack-boilerplate

About

Write Cloudflare Workers scripts with ES2020? Easy!


Languages

Language:JavaScript 100.0%