mirror of
https://github.com/186526/handlers.js
synced 2024-10-13 00:29:43 +00:00
fix types & add bun adapater (WIP)
This commit is contained in:
@ -2,8 +2,15 @@
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"lib": ["ESNext"],
|
||||
"types": ["@cloudflare/workers-types", "@types/node", "@types/jest"],
|
||||
"lib": [
|
||||
"ESNext"
|
||||
],
|
||||
"types": [
|
||||
"@cloudflare/workers-types",
|
||||
"@types/node",
|
||||
"@types/jest",
|
||||
"bun-types"
|
||||
],
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"outDir": "./dist",
|
||||
@ -23,12 +30,21 @@
|
||||
"experimentalDecorators": true,
|
||||
"resolveJsonModule": true,
|
||||
"baseUrl": ".",
|
||||
"plugins": [{
|
||||
"transform": "@zerollup/ts-transform-paths"
|
||||
}],
|
||||
"plugins": [
|
||||
{
|
||||
"transform": "@zerollup/ts-transform-paths"
|
||||
}
|
||||
],
|
||||
"declaration": true
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
"include": ["index.ts", "src/**/*.ts", "demo/**/*.ts", "types/*.d.ts"],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
],
|
||||
"include": [
|
||||
"index.ts",
|
||||
"src/**/*.ts",
|
||||
"demo/**/*.ts",
|
||||
"types/*.d.ts"
|
||||
],
|
||||
// "esm": true
|
||||
}
|
Reference in New Issue
Block a user