-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
981e2a8
commit 5315c3f
Showing
4 changed files
with
62 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.