Skip to content

Commit d92b43d

Browse files
committed
refactor(@angular/build): add error as part of error notes
This commit adds the error as part of the notes when an error occurs during font inlining.
1 parent d74258a commit d92b43d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/build/src/tools/esbuild/stylesheets/css-inline-fonts-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function createCssInlineFontsPlugin({
6565
errors: [
6666
{
6767
text: `Failed to inline external stylesheet '${args.path}'.`,
68-
detail: error,
68+
notes: error instanceof Error ? [{ text: error.toString() }] : undefined,
6969
},
7070
],
7171
};

0 commit comments

Comments
 (0)