diff --git a/templates/Angular2Spa/project.json b/templates/Angular2Spa/project.json index 0354023..f717415 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 0e36801..38aa423 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 2aa0f5d..5811e72 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 1f47636..b44ec25 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 106ade4..1f055c1 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": {