Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 23, 2023
1 parent e7b56c3 commit 349f2c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions playground/deno/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"imports": {
"@intlify/utils": "https://deno.land/x/intlify_utils/mod.ts"
},
"tasks": {
"dev": "deno run --watch main.ts",
"test": "deno test --allow-read=$(which deno) --allow-run --allow-net ./deno.spec.ts"
Expand Down
3 changes: 2 additions & 1 deletion playground/deno/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @ts-ignore: this is example
import { getHeaderLanguages } from "https://deno.land/x/intlify_utils/mod.ts";
import { getHeaderLanguages } from "@intlify/utils"; // module is mapped by `deno.jsonc`
// import { getHeaderLanguages } from 'https://deno.land/x/intlify_utils/mod.ts'

const port = 8125;
Deno.serve({
Expand Down

0 comments on commit 349f2c1

Please sign in to comment.