Created
February 16, 2020 18:06
-
-
Save anfibiacreativa/b6a827d8a5393aadd8658d8292f91971 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"some-huge-app": { | |
"root": "", | |
"sourceRoot": "src", | |
"projectType": "application", | |
"prefix": "", | |
"schematics": { | |
"@schematics/angular:component": { | |
"styleext": "scss", | |
"changeDetection": "OnPush", | |
"viewEncapsulation": "Emulated", | |
"spec": false | |
}, | |
"@schematics/angular:class": { | |
"spec": false | |
}, | |
"@schematics/angular:directive": { | |
"spec": false | |
}, | |
"@schematics/angular:guard": { | |
"spec": false | |
}, | |
"@schematics/angular:module": { | |
"spec": false | |
}, | |
"@schematics/angular:pipe": { | |
"spec": false | |
}, | |
"@schematics/angular:service": { | |
"spec": false | |
} | |
}, | |
"architect": { | |
"build": { | |
"builder": "@angular-builders/custom-webpack:browser", | |
"options": { | |
"customWebpackConfig": { | |
"path": "./webpack.config.js", | |
"mergeStrategies": { | |
"externals": "replace" | |
} | |
}, | |
"outputPath": "dist", | |
"index": "src/index.html", | |
"main": "src/main.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "tsconfig.json", | |
"scripts": [ | |
{ | |
"input": "node_modules/document-register-element/build/document-register-element.js" | |
} | |
] | |
}, | |
"configurations": { | |
"production": { | |
"fileReplacements": [ | |
{ | |
"replace": "src/environments/environment.ts", | |
"with": "src/environments/environment.prod.ts" | |
} | |
], | |
"optimization": true, | |
"outputHashing": "none", | |
"sourceMap": false, | |
"extractCss": true, | |
"namedChunks": false, | |
"aot": true, | |
"extractLicenses": true, | |
"vendorChunk": false, | |
"buildOptimizer": true, | |
"budgets": [ | |
{ | |
"type": "initial", | |
"maximumWarning": "2mb", | |
"maximumError": "5mb" | |
} | |
] | |
} | |
} | |
}, | |
"serve": { | |
"builder": "ngx-build-plus:dev-server", | |
"options": { | |
"browserTarget": "some-huge-app:build" | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "some-huge-app:build:production" | |
} | |
} | |
}, | |
"extract-i18n": { | |
"builder": "@angular-devkit/build-angular:extract-i18n", | |
"options": { | |
"browserTarget": "some-huge-app:build" | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": ["tsconfig.json"], | |
"exclude": ["**/node_modules/**"] | |
} | |
} | |
} | |
} | |
}, | |
"defaultProject": "some-huge-app" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment