-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k

Description
Describe the problem:
When building including the future
:
...
future: {
removeDeprecatedGapUtilities: true,
},
...
the messages below are injected into build without being commented which breaks the CSS file.
risk - There are upcoming breaking changes: removeDeprecatedGapUtilities
risk - We highly recommend opting-in to these changes now to simplify upgrading Tailwind in the future.
When not using the key at all:
risk - There are upcoming breaking changes: removeDeprecatedGapUtilities
risk - We highly recommend opting-in to these changes now to simplify upgrading Tailwind in the future.
risk - https://tailwindcss.com/docs/upcoming-changes
Is this an intentional move to warn people?
I'm pretty sure there must be a better way than doesn't break the possibility to automate.
Of course you can remove the injected lines but then again, that's not automation.
If it's a bug, glad to help you investigate further.
Great job with the library, keep it up.
Link to a minimal reproduction:
Fresh create-react-app
with tailwind@v1.7.1