Improve Register page default stories

This commit is contained in:
Joseph Garrone
2024-06-28 06:46:26 +02:00
parent 3706f15f7e
commit 050e2b2b99
2 changed files with 69 additions and 31 deletions

View File

@ -81,7 +81,8 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
)
)
.toString("utf8")
.replace('import React from "react";\n', "");
.replace('import React from "react";\n', "")
.replace(/from "[./]+dist\//, 'from "keycloakify/');
{
const targetDirPath = pathDirname(targetFilePath);