Added first working example of Cloudflare Worker integration through wrangler and Webpack 4

This commit is contained in:
Alexander Cerutti
2022-02-03 00:14:29 +01:00
parent 2969a75727
commit 788c400850
8 changed files with 9701 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
name = "pg-cw-example"
type = "webpack"
account_id = ""
workers_dev = true
route = ""
zone_id = ""
compatibility_date = "2022-01-31"
webpack_config = "webpack.config.js"
[env.dev]
IS_OFFLINE = true
[env.production]
IS_OFFLINE = false