Skip to content
15 changes: 11 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,20 @@
"styles": [
"demo/styles.css"
],
"scripts": []
"scripts": [],
"aot": false,
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
Expand All @@ -43,7 +49,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down Expand Up @@ -76,7 +83,7 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ngx-restangular/tsconfig.lib.json",
"project": "projects/ngx-restangular/ng-package.json"
Expand Down
2 changes: 1 addition & 1 deletion demo/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import 'core-js/es/reflect';
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
import 'zone.js'; // Included with Angular CLI.



Expand Down
Loading