Skip to content

Commit

Permalink
support typescript tw config (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-zuo committed Oct 31, 2023
1 parent 81427db commit f842736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tw-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let check = () => {
if (localDir === installedDir) return;

//if they are not using tailwind return early
if (!fs.existsSync(`${installedDir}/tailwind.config.js`))
if (!fs.existsSync(`${installedDir}/tailwind.config.js`) && !fs.existsSync(`${installedDir}/tailwind.config.ts`))
return console.log('no tw');

const files = [
Expand Down

0 comments on commit f842736

Please sign in to comment.