0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 10:08:58 +01:00

chore(deno): change path including deno_dist (#2788)

This commit is contained in:
ryu 2024-05-26 04:41:48 +09:00 committed by GitHub
parent 2b0b1f1fc3
commit 82cfd466f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,5 @@
import { Hono, RegExpRouter } from '../../deno_dist/mod.ts'
import { Hono } from '../../src/index.ts'
import { RegExpRouter } from '../../src/router/reg-exp-router/index.ts'
const app = new Hono({ router: new RegExpRouter() })

View File

@ -1,7 +1,7 @@
import type { Router } from '../../../deno_dist/router.ts'
import { RegExpRouter } from '../../../deno_dist/router/reg-exp-router/index.ts'
import { TrieRouter } from '../../../deno_dist/router/trie-router/index.ts'
import { PatternRouter } from '../../../deno_dist/router/pattern-router/index.ts'
import type { Router } from '../../../src/router.ts'
import { RegExpRouter } from '../../../src/router/reg-exp-router/index.ts'
import { TrieRouter } from '../../../src/router/trie-router/index.ts'
import { PatternRouter } from '../../../src/router/pattern-router/index.ts'
import type { RouterInterface } from './tool.mts'
import { routes, handler } from './tool.mts'

View File

@ -11,7 +11,6 @@
"sloppy-imports"
],
"imports": {
"hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts",
"../../deno_dist/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"
"hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"
}
}

View File

@ -11,7 +11,6 @@
"sloppy-imports"
],
"imports": {
"hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts",
"../../deno_dist/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"
"hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"
}
}