Skip to content

Commit

Permalink
Fix * of config search
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasstrehle committed Oct 14, 2024
1 parent 2fa8e33 commit b31c074
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/themes/tailwindcss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const tailwindcss = {
Deno.writeTextFileSync(inFile.normal_pathname, '@tailwind base;\n@tailwind components;\n@tailwind utilities;')
}
if (!configFile.fs_exists) {
Deno.writeTextFileSync(configFile.normal_pathname, 'export default {\n content: ["**/*.{html,tsx,ts,jsx,js}"],\n theme: {\n extend: {},\n },\n plugins: [],\n}')
Deno.writeTextFileSync(configFile.normal_pathname, 'export default {\n content: ["./**/*.{html,tsx,ts,jsx,js}"],\n theme: {\n extend: {},\n },\n plugins: [],\n}')
}

try {
Expand All @@ -99,6 +99,8 @@ export const tailwindcss = {
const args = [
"-i",
inFile.normal_pathname,
"-c",
configFile.normal_pathname,
"-o",
outFile.normal_pathname
]
Expand Down

0 comments on commit b31c074

Please sign in to comment.