From d72b1eb1d0f9c0c3befbdd123be5a45f6fb178b1 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 Close #2626 --- 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 0258c121d3ba..1a94f030eef3 100644 --- a/packages/angular-cli/models/webpack-build-common.ts +++ b/packages/angular-cli/models/webpack-build-common.ts @@ -137,6 +137,8 @@ export function getWebpackCommonConfig( fs: 'empty', global: true, crypto: 'empty', + tls: 'empty', + net: 'empty', module: false, clearImmediate: false, setImmediate: false