mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9432919a8b
This makes it easier to debug in production by including sourcemaps unconditionally. It also processes vendor sourcemaps (which includes Angular FW in this setup) and should improve debuggability of FW code by including sourcemap coverage.
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"cli": {
|
|
"packageManager": "pnpm",
|
|
"analytics": "dca119a9-da31-47f7-a6cb-b60541037021"
|
|
},
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"dev-app": {
|
|
"projectType": "application",
|
|
"schematics": {},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"externalDependencies": ["xhr2"],
|
|
"browser": "src/main.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "public"
|
|
}
|
|
],
|
|
"styles": ["src/styles.css"],
|
|
"server": "src/main.server.ts",
|
|
"outputMode": "static",
|
|
"sourceMap": {
|
|
"vendor": true
|
|
}
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "dev-app:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "dev-app:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:unit-test"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|