mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 12:34:32 +08:00
fix(@angular-devkit/build-angular): remove browser-esbuild usage warning
To avoid potential confusion when updating to v17, the usage warning as been removed from the `browser-esbuild` builder. The `browser-esbuild` builder is considered stable and fully supported. This is in addition to the other stable builders: `browser` and `application`. The `browser-esbuild` builder provides similar behavior to the `browser` builder but with the performance improvements of the `application` builder. However, `browser-esbuild` does not have integrated SSR support and will not receive new/future `application` builder options and features. For more details on these builders, please see: https://angular.io/guide/esbuild
This commit is contained in:
parent
7ac6da56f4
commit
b2224c56ce
@ -25,11 +25,6 @@ export function logBuilderStatusWarnings(
|
|||||||
options: BrowserBuilderOptions,
|
options: BrowserBuilderOptions,
|
||||||
{ logger }: BuilderContext,
|
{ logger }: BuilderContext,
|
||||||
) {
|
) {
|
||||||
logger.warn(
|
|
||||||
`The 'browser-esbuild' builder is a compatibility builder which will be removed in a future major ` +
|
|
||||||
`version in favor of the 'application' builder.`,
|
|
||||||
);
|
|
||||||
|
|
||||||
// Validate supported options
|
// Validate supported options
|
||||||
for (const unsupportedOption of UNSUPPORTED_OPTIONS) {
|
for (const unsupportedOption of UNSUPPORTED_OPTIONS) {
|
||||||
const value = (options as unknown as BrowserBuilderOptions)[unsupportedOption];
|
const value = (options as unknown as BrowserBuilderOptions)[unsupportedOption];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user