This project is an isomorphic webpack generated with webpack-starter, and deployed with Cloudflare Workers.
Demo with subdomain : http://isomorphic-worker-webpack.ta_7382.workers.dev/
Demo with route
by cloudflare dns : https://worker.robby570.tw/
Create .env file from .env.example
Install the cli and add your account_id
, zone_id
, route
into wrangler.toml
.
yarn global add @cloudflare/wrangler
Install dependencies.
yarn install
Start a dev server.
yarn start
Build your website.
yarn build
Watch worker with wrangler script.
yarn worker:watch
Build worker with wrangler script.
yarn worker:build
Publish worker with wrangler script.
yarn worker:publish
Publish worker for production.
yarn worker:publish-prod
Isomorphic Worker Webpack is open source software licensed as MIT.