Skip to content

Commit

Permalink
Get rid of node:stream/web dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Jul 14, 2024
1 parent 257fc48 commit 79dd6b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Version 0.4.2

To be released.

- The npm version of LogTape no more depends on `node:stream/web` module.
This should make it easier to use LogTape on edge functions.


Version 0.4.1
-------------
Expand Down
9 changes: 3 additions & 6 deletions dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,13 @@ await build({
},
shims: {
deno: "dev",
custom: [
{
module: "node:stream/web",
globalNames: ["WritableStream"],
},
],
},
typeCheck: "both",
declaration: "separate",
declarationMap: true,
compilerOptions: {
lib: ["ES2021", "DOM"],
},
async postBuild() {
await Deno.copyFile("LICENSE", "npm/LICENSE");
await Deno.copyFile("README.md", "npm/README.md");
Expand Down

0 comments on commit 79dd6b6

Please sign in to comment.