Skip to content

Commit

Permalink
ensure zod is bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Aug 17, 2023
1 parent 9c39a53 commit 9f9d48f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cloudflare-basics",
"type": "module",
"version": "0.0.5",
"version": "0.0.6",
"packageManager": "[email protected]",
"description": "",
"author": "Alex MaccCaw <[email protected]>",
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"types": ["@cloudflare/workers-types"]
"types": ["@cloudflare/workers-types"],
"outDir": "./dist"
},
"exclude": ["example"]
"exclude": ["example", "node_modules", "dist"],
"include": ["src/**/*"]
}
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
entry: ['src/index.ts', 'src/middleware/zod-validation.ts'],
format: ['esm', 'cjs'],
clean: true,
dts: true,
Expand Down

0 comments on commit 9f9d48f

Please sign in to comment.