mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix(cli): fix nuxt template issues with bun
This commit is contained in:
@@ -788,10 +788,10 @@ export async function handleExtras(projectDir: string, context: ProjectConfig) {
|
||||
}
|
||||
|
||||
if (context.packageManager === "bun") {
|
||||
const bunfigSrc = path.join(extrasDir, "bunfig.toml");
|
||||
const bunfigSrc = path.join(extrasDir, "bunfig.toml.hbs");
|
||||
const bunfigDest = path.join(projectDir, "bunfig.toml");
|
||||
if (await fs.pathExists(bunfigSrc)) {
|
||||
await fs.copy(bunfigSrc, bunfigDest);
|
||||
await processTemplate(bunfigSrc, bunfigDest, context);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user