Simple JS Deployment to Cloudflare
1 min read

Simple JS Deployment to Cloudflare

Build Setup

# install dependencies
$ npm run install

# run on local dev. default on localhost:3000
$ npm run dev

# build and run on prod
$ npm run build
$ npm run start

# generate static files
$ npm run generate

# publish to Cloudflare workers
$ npm run publish

Next up..