mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Replaces esbuild with Rollup for bundling schematics to support code splitting, as esbuild does not handle code splitting when targeting CommonJS modules. **Before:** ``` du -sh dist/bin/packages/core/npm_package/schematics 7.7M dist/bin/packages/core/npm_package/schematics ``` **After:** ``` du -sh dist/bin/packages/core/npm_package/schematics 3.1M dist/bin/packages/core/npm_package/schematics ``` PR Close #57602
28 lines
1.2 KiB
JSON
28 lines
1.2 KiB
JSON
{
|
|
"schematics": {
|
|
"standalone-migration": {
|
|
"description": "Converts the entire application or a part of it to standalone",
|
|
"factory": "./bundles/standalone-migration#migrate",
|
|
"schema": "./ng-generate/standalone-migration/schema.json",
|
|
"aliases": ["standalone"]
|
|
},
|
|
"control-flow-migration": {
|
|
"description": "Converts the entire application to block control flow syntax",
|
|
"factory": "./bundles/control-flow-migration#migrate",
|
|
"schema": "./ng-generate/control-flow-migration/schema.json",
|
|
"aliases": ["control-flow"]
|
|
},
|
|
"inject-migration": {
|
|
"description": "Converts usages of constructor-based injection to the inject() function",
|
|
"factory": "./bundles/inject-migration#migrate",
|
|
"schema": "./ng-generate/inject-migration/schema.json",
|
|
"aliases": ["inject"]
|
|
},
|
|
"route-lazy-loading-migration": {
|
|
"description": "Updates route definitions to use lazy-loading of components instead of eagerly referencing them",
|
|
"factory": "./bundles/route-lazy-loading#migrate",
|
|
"schema": "./ng-generate/route-lazy-loading/schema.json",
|
|
"aliases": ["route-lazy-loading"]
|
|
}
|
|
}
|
|
}
|