diff --git a/templates/Angular2Spa/project.json b/templates/Angular2Spa/project.json index 035402371b..f717415764 100755 --- a/templates/Angular2Spa/project.json +++ b/templates/Angular2Spa/project.json @@ -40,7 +40,10 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": ["node_modules"] + } }, "runtimeOptions": { diff --git a/templates/KnockoutSpa/project.json b/templates/KnockoutSpa/project.json index 0e36801b07..38aa423ba2 100755 --- a/templates/KnockoutSpa/project.json +++ b/templates/KnockoutSpa/project.json @@ -40,7 +40,10 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": ["node_modules"] + } }, "runtimeOptions": { diff --git a/templates/ReactReduxSpa/project.json b/templates/ReactReduxSpa/project.json index 2aa0f5d04f..5811e72343 100755 --- a/templates/ReactReduxSpa/project.json +++ b/templates/ReactReduxSpa/project.json @@ -40,7 +40,10 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": ["node_modules"] + } }, "runtimeOptions": { diff --git a/templates/ReactSpa/project.json b/templates/ReactSpa/project.json index 1f47636999..b44ec2543b 100755 --- a/templates/ReactSpa/project.json +++ b/templates/ReactSpa/project.json @@ -40,7 +40,10 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": ["node_modules"] + } }, "runtimeOptions": { diff --git a/templates/WebApplicationBasic/project.json b/templates/WebApplicationBasic/project.json index 106ade4dcf..1f055c135d 100755 --- a/templates/WebApplicationBasic/project.json +++ b/templates/WebApplicationBasic/project.json @@ -38,7 +38,10 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": ["node_modules"] + } }, "runtimeOptions": {