We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d65518 commit 0b1b819Copy full SHA for 0b1b819
1 file changed
packages/angular/build/src/builders/unit-test/builder.ts
@@ -257,6 +257,25 @@ export async function* execute(
257
];
258
},
259
260
+ {
261
+ name: 'angular-html-index',
262
+ transformIndexHtml() {
263
+ // Add all global stylesheets
264
+ return (
265
+ Object.entries(result.files)
266
+ // TODO: Expand this to all configured global stylesheets
267
+ .filter(([file]) => file === 'styles.css')
268
+ .map(([styleUrl]) => ({
269
+ tag: 'link',
270
+ attrs: {
271
+ 'href': styleUrl,
272
+ 'rel': 'stylesheet',
273
+ },
274
+ injectTo: 'head',
275
+ }))
276
+ );
277
278
279
],
280
281
);
0 commit comments