Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): correct escaping of target warnin…
Browse files Browse the repository at this point in the history
…g 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)
  • Loading branch information
clydin authored and dgp1130 committed Oct 28, 2022
1 parent 9988019 commit 192e0e6
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -235,8 +235,9 @@ export function createCompilerPlugin(
location: { file: pluginOptions.tsconfig },
notes: [
{
text: `To control ECMA version and features use the Browerslist configuration. ' +
'For more information, see https://angular.io/guide/build#configuring-browser-compatibility'`,
text:
'To control ECMA version and features use the Browerslist configuration. ' +
'For more information, see https://angular.io/guide/build#configuring-browser-compatibility',
},
],
});
Expand Down

0 comments on commit 192e0e6

Please sign in to comment.