Skip to content

Commit

Permalink
chore(deno): change path including deno_dist (#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuapp authored May 25, 2024
1 parent 2b0b1f1 commit 82cfd46
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion benchmarks/deno/hono.ts
Original file line number Diff line number Diff line change
@@ -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() })

Expand Down
8 changes: 4 additions & 4 deletions benchmarks/routers-deno/src/hono.mts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
3 changes: 1 addition & 2 deletions runtime_tests/deno-jsx/deno.precompile.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 1 addition & 2 deletions runtime_tests/deno-jsx/deno.react-jsx.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 82cfd46

Please sign in to comment.