Skip to content

Commit 24f92a9

Browse files
feat(2386): Remove build optimization (as before), add missing karmka config (needed for test coverage), remove unnecessary ns serve options.
1 parent 178a974 commit 24f92a9

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

packages/angular-material/angular.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
2+
"$schema": "../../node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
44
"newProjectRoot": ".",
55
"projects": {
@@ -33,20 +33,13 @@
3333
"allowedCommonJsDependencies": [
3434
"lodash",
3535
"hammerjs"
36-
]
36+
],
37+
"optimization": false,
38+
"buildOptimizer": false
3739
}
3840
},
3941
"serve": {
40-
"builder": "@angular-devkit/build-angular:dev-server",
41-
"configurations": {
42-
"production": {
43-
"buildTarget": "example:build:production"
44-
},
45-
"development": {
46-
"buildTarget": "example:build:development"
47-
}
48-
},
49-
"defaultConfiguration": "development"
42+
"builder": "@angular-devkit/build-angular:dev-server"
5043
}
5144
}
5245
},
@@ -74,6 +67,7 @@
7467
"test": {
7568
"builder": "@angular-devkit/build-angular:karma",
7669
"options": {
70+
"karmaConfig": "karma.conf.js",
7771
"tsConfig": "tsconfig.spec.json",
7872
"polyfills": [
7973
"zone.js",

0 commit comments

Comments
 (0)