Fix inline CSS in html

This commit is contained in:
Joseph Garrone
2024-06-19 22:41:25 +02:00
parent 8819abc418
commit 12fd6160c5
4 changed files with 92 additions and 7 deletions

View File

@ -134,7 +134,7 @@ export async function generateResourcesForMainTheme(params: {
if (filePath.endsWith(".css")) {
const { fixedCssCode } = replaceImportsInCssCode({
cssCode: sourceCode.toString("utf8"),
fileRelativeDirPath: pathDirname(fileRelativePath),
cssFileRelativeDirPath: pathDirname(fileRelativePath),
buildContext
});