Skip to content

Instantly share code, notes, and snippets.

@Justryuz
Created June 18, 2021 09:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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