Skip to content

Commit

Permalink
finish import map restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
bjesuiter committed Sep 5, 2022
1 parent ac4a200 commit beb8dab
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions deps/std_log.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as log from "https://deno.land/std@0.154.0/log/mod.ts";
File renamed without changes.
6 changes: 3 additions & 3 deletions example/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { } from "../mod.ts";
import { log } from "../dependencies/_log.std.ts";
import { VERSION } from "../version.ts";
import {} from "/mod.ts";
import { log } from "std_log";
import { VERSION } from "/version.ts";

try {
log.info(`Module Version (version.ts): ${VERSION}`);
Expand Down
4 changes: 2 additions & 2 deletions importMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"imports": {
"/": "./",
"./": "./",
"log.std": "https://deno.land/std@0.154.0/log/mod.ts",
"testing.std": "./deps/testing.std.ts"
"std_log": "./deps/std_log.ts",
"std_testing": "./deps/std_testing.ts"
}
}

0 comments on commit beb8dab

Please sign in to comment.