Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 418255e

Browse files
Exclude node_modules from .NET compilation. Fixes #378.
1 parent f6d7321 commit 418255e

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

templates/Angular2Spa/project.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040

4141
"buildOptions": {
4242
"emitEntryPoint": true,
43-
"preserveCompilationContext": true
43+
"preserveCompilationContext": true,
44+
"compile": {
45+
"exclude": ["node_modules"]
46+
}
4447
},
4548

4649
"runtimeOptions": {

templates/KnockoutSpa/project.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040

4141
"buildOptions": {
4242
"emitEntryPoint": true,
43-
"preserveCompilationContext": true
43+
"preserveCompilationContext": true,
44+
"compile": {
45+
"exclude": ["node_modules"]
46+
}
4447
},
4548

4649
"runtimeOptions": {

templates/ReactReduxSpa/project.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040

4141
"buildOptions": {
4242
"emitEntryPoint": true,
43-
"preserveCompilationContext": true
43+
"preserveCompilationContext": true,
44+
"compile": {
45+
"exclude": ["node_modules"]
46+
}
4447
},
4548

4649
"runtimeOptions": {

templates/ReactSpa/project.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040

4141
"buildOptions": {
4242
"emitEntryPoint": true,
43-
"preserveCompilationContext": true
43+
"preserveCompilationContext": true,
44+
"compile": {
45+
"exclude": ["node_modules"]
46+
}
4447
},
4548

4649
"runtimeOptions": {

templates/WebApplicationBasic/project.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838

3939
"buildOptions": {
4040
"emitEntryPoint": true,
41-
"preserveCompilationContext": true
41+
"preserveCompilationContext": true,
42+
"compile": {
43+
"exclude": ["node_modules"]
44+
}
4245
},
4346

4447
"runtimeOptions": {

0 commit comments

Comments
 (0)