cloudflare workers: wrangler output bundled JS

This commit is contained in:
Brandon Liu
2022-10-19 09:19:59 +08:00
parent b62f8f3675
commit 2033733643
2 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,8 @@
"start": "wrangler dev",
"deploy": "wrangler publish",
"test": "node -r esbuild-runner/register src/index.test.ts",
"tsc": "tsc --watch"
"tsc": "tsc --watch",
"build": "wrangler publish --outdir dist --dry-run"
},
"dependencies": {
"esbuild-runner": "^2.2.2",