Skip to content

Commit f20dd72

Browse files
fix: ignore import("node: crypto") by webpack
Fixes #517
1 parent ba7048c commit f20dd72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/helpers/iso/isoCrypto/getWebCrypto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const _getWebCryptoInternals = {
4949
stubThisImportNodeCrypto: async () => {
5050
try {
5151
// dnt-shim-ignore
52-
const _nodeCrypto = await import('node:crypto');
52+
const _nodeCrypto = await import(/* webpackIgnore: true */ 'node:crypto');
5353
return _nodeCrypto;
5454
} catch (_err) {
5555
/**

0 commit comments

Comments
 (0)