Skip to content

Commit

Permalink
fix: set import map
Browse files Browse the repository at this point in the history
  • Loading branch information
lisez committed May 26, 2024
1 parent e1124cb commit 4f8148c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ const denoInfo = await import("../deno.json", { with: { type: "json" } }).then(
(e) => e.default,
);

const currentDir = import.meta.dirname;

const output = "./dist";

await emptyDir(output);
Expand All @@ -15,6 +13,7 @@ await build({
typeCheck: "both",
entryPoints: ["./modules/xevt.ts"],
outDir: output,
importMap: "deno.json",
shims: {
deno: false,
undici: false,
Expand Down

0 comments on commit 4f8148c

Please sign in to comment.