mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
77 lines
2 KiB
JSON
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
|
|
}
|
|
}
|
|
}
|