2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-18 03:02:07 +00:00

chore: use PrimeVue components

This commit is contained in:
Jan Laupetin
2025-10-16 21:22:47 +01:00
parent 900337de8d
commit 78538d68f5
9 changed files with 241 additions and 148 deletions

View File

@@ -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) {