angular/modules/ssr-benchmarks/angular.json
Matthieu Riegler 2e3e9b137a refactor(platform-server): replace patch by CLI option. (#58256)
The CLI introduced a new option `experimentalPlatform` to disable loading a polyfill from node. We don't need to patch it anymore.

PR Close #58256
2024-10-21 09:09:07 -07:00

77 lines
2 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ssr-benchmarks": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/ssr-benchmarks",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [],
"tsConfig": "tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [],
"scripts": [],
"server": "src/main.server.ts",
"prerender": false,
"ssr": {
"entry": "run-benchmark.ts",
"experimentalPlatform": "neutral"
}
},
"configurations": {
"production": {
"outputHashing": "none",
"define": {
"DISABLE_DOM_EMULATION": "false"
}
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
},
"browser": {
"define": {
"DISABLE_DOM_EMULATION": "true"
}
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "ssr-new:build:production"
},
"development": {
"buildTarget": "ssr-new:build:development"
}
},
"defaultConfiguration": "development"
}
}
}
},
"cli": {
"analytics": "8b89251b-0b82-4190-a832-e19ddedba643",
"cache": {
"enabled": false
}
}
}