Skip to content

Commit

Permalink
compiler: Support importing crypto through node:crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Oct 25, 2023
1 parent decf456 commit de2e88f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export function queryDefaultAssets(projectRoot: string, sys: ts.System): Assets
const nodeShimNames = [
"assert",
"buffer",
"crypto",
"diagnostics_channel",
"events",
"fs",
Expand Down

0 comments on commit de2e88f

Please sign in to comment.