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!
- Host: GitHub
- URL: https://github.com/outloudvi/worker-webpack-es2020
- Owner: outloudvi
- Created: 2020-11-27T10:54:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-13T08:25:52.000Z (over 4 years ago)
- Last Synced: 2025-02-09T20:17:11.960Z (8 months ago)
- Topics: cloudflare-workers, es2020, optional-chaining, webpack, webworker, workers, wrangler
- Language: JavaScript
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)