chore: use PrimeVue components

This commit is contained in:
Jan Laupetin
2025-10-27 21:01:01 +01:00
parent 900337de8d
commit 78538d68f5
9 changed files with 241 additions and 148 deletions
@@ -8,7 +8,7 @@ type MinimalOutputChunk = Pick<OutputChunk, "type" | "fileName" | "code">;
type MinimalOutputBundle = Record<string, MinimalOutputAsset | MinimalOutputChunk>;
function createVarName(fileName: string) {
return fileName.replaceAll(".", "_").toUpperCase();
return fileName.replaceAll(/[\.-]/g, "_").toUpperCase();
}
function transformAsset(asset: MinimalOutputAsset) {