Skip to content

Commit 192e0e6

Browse files
clydindgp1130
authored andcommitted
fix(@angular-devkit/build-angular): correct escaping of target warning text in esbuild builder
The warning text note for the TypeScript target was incorrectly escaped within a template literal which resulted in a badly formatted error message. (cherry picked from commit 2a6b585)
1 parent 9988019 commit 192e0e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/angular_devkit/build_angular/src/builders/browser-esbuild/compiler-plugin.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,9 @@ export function createCompilerPlugin(
235235
location: { file: pluginOptions.tsconfig },
236236
notes: [
237237
{
238-
text: `To control ECMA version and features use the Browerslist configuration. ' +
239-
'For more information, see https://angular.io/guide/build#configuring-browser-compatibility'`,
238+
text:
239+
'To control ECMA version and features use the Browerslist configuration. ' +
240+
'For more information, see https://angular.io/guide/build#configuring-browser-compatibility',
240241
},
241242
],
242243
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy