Skip to content

Commit

Permalink
ensure we write the config file in the Oxide engine
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Mar 15, 2023
1 parent acaa360 commit 1758789
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/oxide/cli/init/index.ts
Expand Up @@ -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)}`)
}

Expand Down

0 comments on commit 1758789

Please sign in to comment.