Skip to content

Commit 827a71a

Browse files
author
Raphael Balet
committed
add - angular.json : production
1 parent 6eef89a commit 827a71a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"extends": "./tsconfig.lib.json",
4+
"compilerOptions": {
5+
"declarationMap": false
6+
},
7+
"angularCompilerOptions": {
8+
"compilationMode": "partial"
9+
}
10+
}

angular.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"options": {
1515
"tsConfig": "angular-code-input/tsconfig.lib.json",
1616
"project": "angular-code-input/ng-package.json"
17+
},
18+
"configurations": {
19+
"production": {
20+
"tsConfig": "angular-code-input/tsconfig.lib.prod.json"
21+
}
1722
}
1823
},
1924
"test": {
@@ -39,4 +44,4 @@
3944
}
4045
}
4146
}
42-
}
47+
}

0 commit comments

Comments
 (0)