diff --git a/templates/projects/emptyweb/project.json b/templates/projects/emptyweb/project.json index 6940a2c6..6abaf2ce 100644 --- a/templates/projects/emptyweb/project.json +++ b/templates/projects/emptyweb/project.json @@ -27,7 +27,12 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": [ + "node_modules" + ] + } }, "runtimeOptions": { diff --git a/templates/projects/unittest/project.json b/templates/projects/unittest/project.json index 970aa963..3beba008 100644 --- a/templates/projects/unittest/project.json +++ b/templates/projects/unittest/project.json @@ -2,7 +2,12 @@ "version": "1.0.0-*", "buildOptions": { - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": [ + "node_modules" + ] + } }, "dependencies": { diff --git a/templates/projects/web/project.json b/templates/projects/web/project.json index 6cf408c6..2e8d01b4 100755 --- a/templates/projects/web/project.json +++ b/templates/projects/web/project.json @@ -81,7 +81,12 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": [ + "node_modules" + ] + } }, "runtimeOptions": { diff --git a/templates/projects/webapi/project.json b/templates/projects/webapi/project.json index 5f8dc9af..60bae1e7 100644 --- a/templates/projects/webapi/project.json +++ b/templates/projects/webapi/project.json @@ -34,7 +34,12 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": [ + "node_modules" + ] + } }, "runtimeOptions": { diff --git a/templates/projects/webbasic/project.json b/templates/projects/webbasic/project.json index 78d9e089..0ab37150 100755 --- a/templates/projects/webbasic/project.json +++ b/templates/projects/webbasic/project.json @@ -44,7 +44,12 @@ "buildOptions": { "emitEntryPoint": true, - "preserveCompilationContext": true + "preserveCompilationContext": true, + "compile": { + "exclude": [ + "node_modules" + ] + } }, "runtimeOptions": {