mirror of
https://github.com/honojs/hono.git
synced 2024-11-25 13:19:30 +01:00
7dd486ad7b
# BREAKING CHANGES!! Now, builtin middleware are not in main package. You can't use `Middleware.logger()` method. Call sub modules if needed: ```js import { Hono } from 'hono' import { poweredBy } from 'hono/powered-by' import { logger } from 'hono/logger' const app = new Hono() app.use('*', poweredBy()) app.use('*', logger()) ``` Closes: #80 --- * feat: builtin middleware as sub module * fixed middleware * Update readme * Add types * New gif
25 lines
485 B
JSON
25 lines
485 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2017",
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"outDir": "./dist",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"strictPropertyInitialization": false,
|
|
"strictNullChecks": false,
|
|
"types": [
|
|
"jest",
|
|
"node",
|
|
"@cloudflare/workers-types"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.test.ts"
|
|
]
|
|
} |