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:
parent
2b0b1f1fc3
commit
82cfd466f2
@ -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() })
|
||||
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user