From bb3c480afd49048d021966b822f3adc5175060f9 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Wed, 15 Mar 2023 18:48:59 +0100 Subject: [PATCH] ensure we write the config file in the Oxide engine --- src/oxide/cli/init/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/oxide/cli/init/index.ts b/src/oxide/cli/init/index.ts index 208890540605..abc93cdc1351 100644 --- a/src/oxide/cli/init/index.ts +++ b/src/oxide/cli/init/index.ts @@ -45,6 +45,8 @@ export function init(args) { .replace('__CONFIG__', stubContentsFile.replace('module.exports =', '').trim()) .trim() + '\n\n' + fs.writeFileSync(tailwindConfigLocation, stubFile, 'utf8') + messages.push(`Created Tailwind CSS config file: ${path.basename(tailwindConfigLocation)}`) }