Skip to content

Commit 0a5bbd4

Browse files
committed
fix(build): set tls and net node builtins to empty
Fix angular#1696
1 parent fbc585b commit 0a5bbd4

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
@@ -136,6 +136,8 @@ export function getWebpackCommonConfig(
136136
fs: 'empty',
137137
global: true,
138138
crypto: 'empty',
139+
tls: 'empty',
140+
net: 'empty',
139141
module: false,
140142
clearImmediate: false,
141143
setImmediate: false

0 commit comments

Comments
 (0)