0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00
astro/.changeset/beige-schools-hang.md
2023-06-15 23:40:42 +08:00

24 lines
541 B
Markdown

---
'@astrojs/tailwind': major
---
Rename options `config.path` to `configFile`, and `config.applyBaseStyles` to `applyBaseStyles`. If you are using these options, you need to migrate to the new names.
```diff
// astro.config.mjs
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
export default defineConfig({
integrations: [
tailwind({
- config: {
- path: '...',
- applyBaseStyles: true,
- },
+ configFile: '...',
+ applyBaseStyles: true,
}),
],
});
```