Skip to content

Commit 7424795

Browse files
committed
fix(build): set tls and net node builtins to empty
Fix #1696 Close #2626
1 parent 7c13cc5 commit 7424795

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/angular-cli/models/webpack-build-common.ts

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ export function getWebpackCommonConfig(
137137
fs: 'empty',
138138
global: true,
139139
crypto: 'empty',
140+
tls: 'empty',
141+
net: 'empty',
140142
module: false,
141143
clearImmediate: false,
142144
setImmediate: false

0 commit comments

Comments
 (0)