tailwindcss/packages
Jordan Pittman 6a50e6e160
Add blocklist support from v3 config files (#14556)
This PR adds support for the `blocklist` config option when using a JS
config file in v4. You can now block certain classes from being
generated at all. This is useful in cases where scanning files sees
things that look like classes but are actually not used. For example, in
paragraphs in a markdown file:

  ```js
  // tailwind.config.js
  export default {
    blocklist: ['bg-red-500'],
  }
  ```
  
  ```html
  <!-- index.html -->
  <div class="bg-red-500 text-black/75"></div>
  ```

Output:
  
  ```css
  .text-black/75 {
    color: rgba(0, 0, 0, 0.75);
  }
  ```
2024-09-30 15:12:03 -04:00
..
@tailwindcss-cli Expose timing information in debug mode (#14553) 2024-09-30 14:39:21 +00:00
@tailwindcss-node Expose timing information in debug mode (#14553) 2024-09-30 14:39:21 +00:00
@tailwindcss-postcss Expose timing information in debug mode (#14553) 2024-09-30 14:39:21 +00:00
@tailwindcss-standalone Update @types/bun 1.1.8 → 1.1.10 (patch) (#14542) 2024-09-28 11:20:51 +00:00
@tailwindcss-upgrade CSS codemod: inject @import in a more expected location (#14536) 2024-09-30 13:32:30 +00:00
@tailwindcss-vite Expose timing information in debug mode (#14553) 2024-09-30 14:39:21 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Add blocklist support from v3 config files (#14556) 2024-09-30 15:12:03 -04:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00