Skip to content

Commit 2a6b585

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.
1 parent 5036827 commit 2a6b585

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

+3-2
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)