{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "fieldcalc": { "projectType": "application", "schematics": { "@schematics/angular:component": { "style": "scss" } }, "root": "", "sourceRoot": "src", "prefix": "", "architect": { "build": { "builder": "ngx-build-plus:browser", "options": { "sourceMap": true, "vendorChunk": true, "optimization": false, "outputPath": "build", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", "preserveSymlinks": true, "allowedCommonJsDependencies": [ "xml-utils/find-tags-by-name", "lru-cache", "pbf", "queue", "xml-js", "geostyler-legend", "ol-popup", "geostyler-openlayers-parser", "geostyler-sld-parser" ], "assets": [ { "glob": "**/*", "input": "src/assets", "output": "./assets" }, { "glob": "**/*", "input": "./node_modules/hslayers-ng/src/assets", "output": "./assets" } ], "styles": [ "./node_modules/hslayers-ng/css/hslayers-ng.css", "./src/styles.scss" ], "scripts": [], "extraWebpackConfig": "custom-webpack.config.js" }, "configurations": { "production": { "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ], "optimization": true, "outputHashing": "all", "sourceMap": true, "namedChunks": false, "extractLicenses": true, "vendorChunk": true, "buildOptimizer": true, "budgets": [ { "type": "initial", "maximumWarning": "2mb", "maximumError": "5mb" }, { "type": "anyComponentStyle", "maximumWarning": "200kb", "maximumError": "300kb" } ] }, "development": { "commonChunk": false, "sourceMap": { "scripts": true, "styles": true, "vendor": true }, "buildOptimizer": false, "optimization": false, "vendorChunk": true, "extractLicenses": false, "namedChunks": true } } }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { "browserTarget": "hslayers-app:build" }, "configurations": { "production": { "browserTarget": "hslayers-app:build:production" } } }, "federated-serve": { "builder": "ngx-build-plus:dev-server", "options": { "port": 5100, "extraWebpackConfig": "./custom-webpack.config.js" }, "configurations": { "production": { "browserTarget": "fieldcalc:build:production" }, "development": { "browserTarget": "fieldcalc:build:development" } }, "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "hslayers-app:build" } }, "test": { "builder": "@angular-devkit/build-angular:karma", "options": { "main": "test/test.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.spec.json", "karmaConfig": "karma.conf.js", "assets": [ "src/favicon.ico", "src/assets" ], "styles": [], "scripts": [] } }, "e2e": { "builder": "@angular-devkit/build-angular:protractor", "options": { "protractorConfig": "e2e/protractor.conf.js", "devServerTarget": "hslayers-app:serve" }, "configurations": { "production": { "devServerTarget": "hslayers-app:serve:production" } } } } } }, "defaultProject": "fieldcalc", "cli": { "analytics": false } }