Compat with Astro < 1.5 (#5082)
* Compat with Astro < 1.5 * Adding a changeset
This commit is contained in:
parent
35458e6880
commit
5fb7c9383a
2 changed files with 6 additions and 1 deletions
5
.changeset/tender-cars-wait.md
Normal file
5
.changeset/tender-cars-wait.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/tailwind': patch
|
||||
---
|
||||
|
||||
Make Tailwind integration compatible with Astro < 1.5
|
|
@ -103,7 +103,7 @@ export default function tailwindIntegration(options?: TailwindOptions): AstroInt
|
|||
);
|
||||
}
|
||||
|
||||
if (userConfig?.filePath) {
|
||||
if (addWatchFile && userConfig?.filePath) {
|
||||
addWatchFile(userConfig.filePath);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue