astro/.changeset/rude-panthers-tease.md
Ben Holmes 5315c3f7bc
Feat: support tailwind config files (#2831)
* feat: support custom tailwind config files

* fix: make config options optional

* feat: use existing utilities to resolve config path

* deps: add @proload/core to tailwind integration

* deps: update pnpm lock

* chore: clarify config docs

* refactor: extract user config fetch to helper

* refactor: rename function and function options

* refactor: throw error on bad custom config path

* deps: move @proload/core to regular deps

* chore: add changeset

* fix: apply astro preset when user config exists

* fix: use resolveConfig to preserve defaults
2022-03-21 17:27:32 -04:00

198 B

@astrojs/tailwind
patch

Add support for tailwind config files. These can either be a standard tailwind.config.js|cjs|mjs, or a custom filename as specified in your integration config.