An open API service indexing awesome lists of open source software.

https://github.com/outloudvi/worker-webpack-es2020

Write Cloudflare Workers scripts with ES2020? Easy!
https://github.com/outloudvi/worker-webpack-es2020

cloudflare-workers es2020 optional-chaining webpack webworker workers wrangler

Last synced: 6 months ago
JSON representation

Write Cloudflare Workers scripts with ES2020? Easy!

Awesome Lists containing this project

README

          

# 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](https://github.com/tc39/proposal-optional-chaining).

See 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](https://github.com/detroitenglish/cloudflare-workers-webpack-boilerplate)