Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "ourProject": {
- "projectType": "application",
- "schematics": {},
- "root": "",
- "sourceRoot": "src",
- "prefix": "app",
- "architect": {
- "build": {
- "builder": "@angular-builders/custom-webpack:browser",
- "options": {
- "customWebpackConfig": {
- "path": "./webpack.config.js"
- },
- "outputPath": "dist/ourProject",
- "index": "src/index.html",
- "main": "src/main.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "tsconfig.app.json",
- "aot": true,
- "assets": ["src/assets"],
- "styles": [
- "src/styles/global.css",
- "node_modules/@ng-select/ng-select/themes/default.theme.css",
- "node_modules/@angular/cdk/overlay-prebuilt.css",
- "src/styles/tagify.scss",
- "src/assets/css/toastr.css"
- ],
- "scripts": [
- "node_modules/chart.js/dist/Chart.js"
- ]
- },
- "configurations": {
- "production": {
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
- }
- ],
- "optimization": true,
- "outputHashing": "all",
- "sourceMap": false,
- "extractCss": true,
- "namedChunks": false,
- "extractLicenses": true,
- "vendorChunk": false,
- "buildOptimizer": true,
- "budgets": [
- {
- "type": "initial",
- "maximumWarning": "2mb",
- "maximumError": "5mb"
- },
- {
- "type": "anyComponentStyle",
- "maximumWarning": "6kb",
- "maximumError": "10kb"
- }
- ]
- }
- }
- },
- "serve": {
- "builder": "@angular-builders/custom-webpack:dev-server",
- "options": {
- "browserTarget": "ourProject:build"
- },
- "configurations": {
- "production": {
- "browserTarget": "ourProject:build:production"
- }
- }
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "browserTarget": "ourProject:build"
- }
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "main": "src/test.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "tsconfig.spec.json",
- "karmaConfig": "karma.conf.js",
- "assets": ["src/assets"],
- "styles": [
- "src/styles/global.css",
- "node_modules/@ng-select/ng-select/themes/default.theme.css"
- ],
- "scripts": [],
- "codeCoverageExclude": [
- "/**/openapi/**", "/**/mock/**"
- ]
- }
- },
- "e2e": {
- "builder": "@angular-devkit/build-angular:protractor",
- "options": {
- "protractorConfig": "e2e/protractor.conf.js",
- "devServerTarget": "ourProject:serve"
- },
- "configurations": {
- "production": {
- "devServerTarget": "ourProject:serve:production"
- }
- }
- }
- }
- }
- },
- "defaultProject": "ourProject"
- }
Advertisement
Add Comment
Please, Sign In to add comment