Skip to content

Instantly share code, notes, and snippets.

@Justryuz
Created June 18, 2021 09:22
Show Gist options
  • Save Justryuz/0f26a8190a3f67a084acaa026b1e132e to your computer and use it in GitHub Desktop.
Save Justryuz/0f26a8190a3f67a084acaa026b1e132e to your computer and use it in GitHub Desktop.
tailwindcss break output css build #Upcoming Changes
risk - There are upcoming breaking changes: removeDeprecatedGapUtilities, purgeLayersByDefault
risk - We highly recommend opting-in to these changes now to simplify upgrading Tailwind in the future.
risk - https://tailwindcss.com/docs/upcoming-changes
1st Read this - https://tailwindcss.com/docs/upcoming-changes
Change // tailwind.config.js
// tailwind.config.js
module.exports = {
future: {
purgeLayersByDefault: true, //add this
removeDeprecatedGapUtilities: true, //add this
},
// ...
}
Done save and Deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment