fix for broken lint pass.

This commit is contained in:
Ken Sternberg 2024-01-05 16:17:20 -08:00
parent bdc2f68a4d
commit c4b34b2d5b
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
// THIS IS A GENERATED FILE. DO NOT EDIT BY HAND. // THIS IS A GENERATED FILE. DO NOT EDIT BY HAND.
// //
// This file is generated by the build-storybook-import-maps script in the UI's base directory. // This file is generated by the build-storybook-import-maps script in the UI's base directory.
@ -75,7 +74,7 @@ type ImportMapType = Record<string, string>;
export const cssImportMaps = cssImportMapsBase.reduce( export const cssImportMaps = cssImportMapsBase.reduce(
(acc: ImportMapType, importLine: string) => ({ (acc: ImportMapType, importLine: string) => ({
...acc, ...acc,
[importLine]: importLine.replace(/.css/, ".css?inline"), [importLine]: importLine.replace(/\.css/, ".css?inline"),
}), }),
{} {},
); );

View File

@ -82,7 +82,7 @@ type ImportMapType = Record<string, string>;
export const cssImportMaps = cssImportMapsBase.reduce( export const cssImportMaps = cssImportMapsBase.reduce(
(acc: ImportMapType, importLine: string) => ({ (acc: ImportMapType, importLine: string) => ({
...acc, ...acc,
[importLine]: importLine.replace(/\.css/, ".css?inline"), [importLine]: importLine.replace(/\\.css/, ".css?inline"),
}), }),
{} {}
); );