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 cfef652 commit bb3c480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/oxide/cli/init/index.ts
Original file line number Diff line number Diff line change
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 bb3c480

Please sign in to comment.