Skip to content

Commit

Permalink
chore: remove importmap
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Sep 18, 2024
1 parent 5babd72 commit dc6296e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"name": "@denosaurs/rutt",
"version": "0.1.0",
"imports": {
"https://deno.land/x/rutt/mod.ts": "./mod.ts",
"jsr:@denosaurs/rutt": "./mod.ts"
},
"exports": "./mod.ts"
}
2 changes: 1 addition & 1 deletion examples/hello_world.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { router } from "jsr:@denosaurs/rutt";
import { router } from "../mod.ts";

await Deno.serve(
router({
Expand Down
2 changes: 1 addition & 1 deletion examples/nested_routes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { router } from "jsr:@denosaurs/rutt";
import { router } from "../mod.ts";

await Deno.serve(
router({
Expand Down
2 changes: 1 addition & 1 deletion examples/parameters.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { router } from "jsr:@denosaurs/rutt";
import { router } from "../mod.ts";

await Deno.serve(
router({
Expand Down
2 changes: 1 addition & 1 deletion examples/serve.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { router } from "jsr:@denosaurs/rutt";
import { router } from "../mod.ts";

export default {
fetch: router({
Expand Down
2 changes: 1 addition & 1 deletion test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assert, assertEquals, assertIsError } from "jsr:@std/assert@1.0.5";
import { router } from "jsr:@denosaurs/rutt";
import { router } from "./mod.ts";

/// @ts-ignore - Deno doesn't have this type
const TEST_CONN_INFO: Deno.ServeHandlerInfo = {
Expand Down

0 comments on commit dc6296e

Please sign in to comment.