From 0a5bbd45ae7986a4721c395f3920a1fd012cecbe Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Mon, 10 Oct 2016 11:55:24 +0100 Subject: [PATCH] fix(build): set tls and net node builtins to empty Fix #1696 --- packages/angular-cli/models/webpack-build-common.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/angular-cli/models/webpack-build-common.ts b/packages/angular-cli/models/webpack-build-common.ts index 1b6d43b70455..be4646d1b4e3 100644 --- a/packages/angular-cli/models/webpack-build-common.ts +++ b/packages/angular-cli/models/webpack-build-common.ts @@ -136,6 +136,8 @@ export function getWebpackCommonConfig( fs: 'empty', global: true, crypto: 'empty', + tls: 'empty', + net: 'empty', module: false, clearImmediate: false, setImmediate: false