Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.4.8
Choose a base ref
...
head repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.4.9
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Aug 8, 2024

  1. Don't warn about broad globs in vendor folders (#14147)

    After shipping the new warning that prevents unexpected scanning of all
    dependencies in 3.4.8, we noticed that it was firing more often than we
    wanted to.
    
    The heuristics we added works by finding broad glob patterns (once that
    contain `/**/`) and when those are found and are the _sole pattern used
    to match a file of a known-large directory_, we were showing the
    warning. The motivation for this is that we have seen time and time
    again that an incorrect config like `/**/*.js` can cause recursive scans
    through _all_ dependencies including many minified libraries which
    greatly impacts performance.
    
    In #14140, we were adding two known-large directory names: 
    
    - `node_modules` (used by npm)
    - `vendor` (used by PHP)
    
    The problem with the `vendor` name though is that it is more generic
    than we would like it and there are legit use cases to have a folder
    named `vendor` inside your component folder. Additionally, PHP vendors
    behave a bit differently and it's not super common to have minified
    build files in that folder (which is one of the main reasons for the
    slow builds). Because of this, we decided to revert the change for
    `vendor` and only scan for `node_modules` going forward.
    philipp-spiess authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    702ba6a View commit details
    Browse the repository at this point in the history
  2. 3.4.9

    RobinMalfait committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    f65023e View commit details
    Browse the repository at this point in the history
Loading