chore: Fix build of open-lens

- Remove need for using relative paths during build

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-09 09:55:25 -04:00
1 parent 6167ad2c25
commit 91354eae01
40 files changed
+284 -160

No files matched your search

+7 -1
View File
@@ -124,7 +124,10 @@ export function iconsAndImagesWebpackRules(): webpack.RuleSetRule[] {
},
{
test: /\.(jpg|png|ico)$/,
type: "asset/resource", // path to file, e.g. "/static/build/assets/*"
type: "asset/resource",
generator: {
filename: "images/[name][ext]",
},
},
];
}
@@ -137,6 +140,9 @@ export function fontsLoaderWebpackRules(): webpack.RuleSetRule[] {
{
test: /\.(ttf|eot|woff2?)$/,
type: "asset/resource",
generator: {
filename: "fonts/[name][ext]",
},
},
];
}