Created
April 28, 2022 11:59
-
-
Save thechainercygnus/44f41176ee66188e11b6132c15b424ee to your computer and use it in GitHub Desktop.
A basic wrangler.toml for webpack workers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "worker_name" # The name of the worker | |
type = "webpack" # This tells Cloudflare Workers what stack we need, currently using webpack. Will move to javascript custom build | |
compatibility_date = "2022-01-01" | |
workers_dev = true # Set to false for production deployments | |
route = "https://{{ domain }}/*" # Populate with your domain name | |
account_id = "" # Your CF Account ID | |
zone_id = "" # The CF Zone ID for the domain | |
[site] | |
bucket = "./public" # The files to be served | |
entry-point = "workers-site" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment