Skip to content

Conversation

@lyzadanger
Copy link
Contributor

Depends on #128

Update sass task to only apply the tailwindcss postcss plugin if
both of these things are true:

  • The tailwindcss package is available for import, AND
  • A tailwindConfig option is provided

This eliminates the need for projects that use this project's sass gulp task to have to pass a dummy tailwindConfig when the source does not need to be processed with tailwind.

Updated `sass` task to only apply the `tailwindcss` postcss plugin if
both of these things are true:

* The `tailwindcss` package is available for import, AND
* A `tailwindConfig` option is provided
@lyzadanger lyzadanger requested a review from robertknight June 21, 2022 13:05
Base automatically changed from dependabot/npm_and_yarn/tailwindcss-3.1.3 to main June 21, 2022 13:25
@lyzadanger lyzadanger merged commit 58f8b69 into main Jun 22, 2022
@lyzadanger lyzadanger deleted the sass-tailwind-config branch June 22, 2022 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants