Skip to content

Commit 7fa8c50

Browse files
committed
#14 exclude node_modules folder from solution
1 parent 6ea971a commit 7fa8c50

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

33
# IDEs and editors
4-
.vs/
4+
.vs/
5+
obj/
6+
bin/

angular/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

33
# compiled output
44
/dist
@@ -14,6 +14,9 @@
1414
.c9/
1515
*.launch
1616
.settings/
17+
.vs/
18+
obj/
19+
bin/
1720

1821
# IDE - VSCode
1922
.vscode/*

angular/AbpCompanyName.AbpProjectName.AngularUI.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<Compile Remove="node_modules\**\*;dist" />
10+
<Compile Remove="node_modules\**" />
11+
<EmbeddedResource Remove="node_modules\**" />
12+
<None Remove="node_modules\**" />
13+
</ItemGroup>
14+
15+
<ItemGroup>
16+
<Compile Remove="dist" />
1117
<None Include="App.config" />
1218
<None Update="wwwroot\**\*;web.config">
1319
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>

angular/src/tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"compilerOptions": {
33
"declaration": false,
44
"emitDecoratorMetadata": true,
@@ -20,5 +20,8 @@
2020
"@shared/*": [ "./shared/*" ],
2121
"@node_modules/*": [ "../node_modules/*" ]
2222
}
23-
}
23+
},
24+
"exclude": [
25+
"node_modules"
26+
]
2427
}

0 commit comments

Comments
 (0)