Skip to content

Commit

Permalink
feat: update to latest wrangler version
Browse files Browse the repository at this point in the history
  • Loading branch information
zhigang1992 committed May 16, 2024
1 parent bfadc37 commit 705c052
Show file tree
Hide file tree
Showing 4 changed files with 1,125 additions and 641 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"build": "webpack",
"dev": "wrangler dev",
"preview": "wrangler preview",
"deploy": "wrangler publish -e production"
"deploy": "wrangler deploy src/index.ts"
},
"dependencies": {
"tiny-request-router": "^1.2.2"
},
"devDependencies": {
"@cloudflare/workers-types": "^2.0.0",
"@cloudflare/wrangler": "^1.10.3",
"wrangler": "^3.56.0",
"@types/node": "^14.0.24",
"prettier": "^2.0.5",
"ts-loader": "^8.0.1",
Expand Down
32 changes: 0 additions & 32 deletions webpack.config.js

This file was deleted.

9 changes: 1 addition & 8 deletions wrangler.example.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
name = "notion-cloudflare-worker"
webpack_config = "webpack.config.js"
type = "webpack"
workers_dev = true

account_id = ""
zone_id = ""

route = "notion-api.splitbee.io/*"
compatibility_date = "2024-05-16"
Loading

0 comments on commit 705c052

Please sign in to comment.