Pre-existing bundle size (1.29MB) already exceeded the 1MB error threshold before any RC audit fixes; confirmed via git stash on an unmodified tree. Raises maximumError only, warning threshold unchanged (700kB) so the size regression stays visible. Real bundle reduction is tracked separately (RELEASE-CANDIDATE-AUDIT.md P2-3). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
151 lines
4.2 KiB
JSON
151 lines
4.2 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"Dexarmarket": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"outputPath": "dist/dexarmarket",
|
|
"browser": "src/main.ts",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "public"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "assets"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.production.ts"
|
|
},
|
|
{
|
|
"replace": "src/app/interceptors/mock-data.interceptor.ts",
|
|
"with": "src/app/interceptors/mock-data.interceptor.production.ts"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"src/styles/themes/dexar.theme.scss"
|
|
],
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "700kB",
|
|
"maximumError": "1.5MB"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "40kB",
|
|
"maximumError": "50kB"
|
|
}
|
|
],
|
|
"outputHashing": "all",
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": true
|
|
},
|
|
"fonts": {
|
|
"inline": true
|
|
}
|
|
},
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"serviceWorker": "ngsw-config.json"
|
|
},
|
|
"development": {
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"src/styles/themes/dexar.theme.scss"
|
|
],
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"options": {
|
|
"allowedHosts": [
|
|
"dexarmarket.ru",
|
|
"dexar.market",
|
|
"localhost"
|
|
]
|
|
},
|
|
"builder": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "Dexarmarket:build:production"
|
|
},
|
|
"development": {
|
|
"proxyConfig": "proxy.conf.json",
|
|
"buildTarget": "Dexarmarket:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular/build:extract-i18n"
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:karma",
|
|
"options": {
|
|
"polyfills": [
|
|
"zone.js",
|
|
"zone.js/testing"
|
|
],
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "public"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "assets"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|