Fix crash in vite-plugin

This commit is contained in:
Joseph Garrone
2024-02-11 23:54:28 +01:00
parent 4a8920749a
commit 7c0a631a9a

View File

@ -45,7 +45,7 @@ export function keycloakify(): Plugin {
}); });
if (!fs.existsSync(cacheDirPath)) { if (!fs.existsSync(cacheDirPath)) {
fs.mkdirSync(cacheDirPath); fs.mkdirSync(cacheDirPath, { "recursive": true });
} }
fs.writeFileSync( fs.writeFileSync(