mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Adds a dev app that can be used to prototype and debug things while developing Angular. Use `pnpm dev` to run it.
63 lines
1.7 KiB
JSON
63 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"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|