Skip to content

Commit 7fb783f

Browse files
fix(compiler): point crypto import at crypto instead of node:crypto (#5369)
This fixes an issue where this couldn't be resolved in some cases. fixes #5358
1 parent 9dd2063 commit 7fb783f

File tree

1 file changed

+1
-2
lines changed
  • src/compiler/transformers/automatic-key-insertion

1 file changed

+1
-2
lines changed

src/compiler/transformers/automatic-key-insertion/utils.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { createHash } from 'node:crypto';
2-
1+
import { createHash } from 'crypto';
32
import ts from 'typescript';
43

54
/**

0 commit comments

Comments
 (0)