Skip to content

Commit

Permalink
Allow resolving content paths relative to the config file (#9396)
Browse files Browse the repository at this point in the history
* Update lockfile

* Tweak formatting

* Refactor content path parsing

* Allow resolving content paths relative to the config file

* Include resolved symlinks as additional content paths

* Update changelog

* Work on suite of tests for content resolution

* reformat integration test list

* Move content resolution tests to integration

* Update future and experimental types
  • Loading branch information
thecrypticace committed Sep 23, 2022
1 parent 7ea02c2 commit bf44941
Show file tree
Hide file tree
Showing 30 changed files with 2,121 additions and 128 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/integration-tests.yml
Expand Up @@ -15,7 +15,16 @@ jobs:

strategy:
matrix:
integration: [parcel, postcss-cli, rollup, rollup-sass, tailwindcss-cli, vite, webpack-4, webpack-5]
integration:
- content-resolution
- parcel
- postcss-cli
- rollup
- rollup-sass
- tailwindcss-cli
- vite
- webpack-4
- webpack-5
node-version: [16]

steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add negative value support for `outline-offset` ([#9136](https://github.com/tailwindlabs/tailwindcss/pull/9136))
- Allow negating utilities using min/max/clamp ([#9237](https://github.com/tailwindlabs/tailwindcss/pull/9237))
- Add new `collapse` utility for `visibility: collapse` ([#9181](https://github.com/tailwindlabs/tailwindcss/pull/9181))
- Allow resolving content paths relative to the config file ([#9396](https://github.com/tailwindlabs/tailwindcss/pull/9396))

### Fixed

Expand Down
1 change: 1 addition & 0 deletions integrations/content-resolution/.gitignore
@@ -0,0 +1 @@
*.tailwind.config.js

0 comments on commit bf44941

Please sign in to comment.