Skip to content

Commit

Permalink
Compat with Astro < 1.5 (#5082)
Browse files Browse the repository at this point in the history
* Compat with Astro < 1.5

* Adding a changeset
  • Loading branch information
matthewp authored Oct 13, 2022
1 parent 35458e6 commit 5fb7c93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tender-cars-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/tailwind': patch
---

Make Tailwind integration compatible with Astro < 1.5
2 changes: 1 addition & 1 deletion packages/integrations/tailwind/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function tailwindIntegration(options?: TailwindOptions): AstroInt
);
}

if (userConfig?.filePath) {
if (addWatchFile && userConfig?.filePath) {
addWatchFile(userConfig.filePath);
}

Expand Down

0 comments on commit 5fb7c93

Please sign in to comment.