Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tailwindcss/nesting plugin #4673

Merged
merged 10 commits into from Jun 17, 2021
Merged

Add tailwindcss/nesting plugin #4673

merged 10 commits into from Jun 17, 2021

Commits on Jun 17, 2021

  1. add nesting plugin

    RobinMalfait committed Jun 17, 2021
    Copy the full SHA
    74cd118 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b4b571a View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    f821a51 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ec05182 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    33ca23e View commit details
    Browse the repository at this point in the history
  6. add build-plugins script

    This will allow us to keep the plugins in their dedicated folders +
    tests + postcss7 compatibility files. However, when we copy over the
    plugins to the root. For example `plugins/nesting/` -> `nesting/` we
    skip files like `.test.js` and `.postcss7.js`.
    RobinMalfait committed Jun 17, 2021
    Copy the full SHA
    d3e048e View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    4fe270c View commit details
    Browse the repository at this point in the history
  8. improve compat mode

    We will use a glob so that we can move all *.postcss7.* files to just
    *.* likewise we will also backup to *.* to *.postcss8.* for restoring
    purposes.
    
    Concrete example:
    
    - Current state:
      - index.js            // PostCSS 8 implementation
      - index.postcss7.js   // PostCSS 7 implementation
    
    - Run "compat"
      - index.js            // PostCSS 7 implementation
      - index.postcss7.js   // PostCSS 7 implementation
      - index.postcss8.js   // PostCSS 8 implementation (Backup of original)
    
    - Run "compat:restore"
      - index.js            // PostCSS 8 implementation
      - index.postcss7.js   // PostCSS 7 implementation
      - X index.postcss8.js // PostCSS 8 implementation (Removed)
    RobinMalfait committed Jun 17, 2021
    Copy the full SHA
    93a8dd9 View commit details
    Browse the repository at this point in the history
  9. Update README.md

    adamwathan authored and RobinMalfait committed Jun 17, 2021
    Copy the full SHA
    6a4d1a2 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    dd02ae1 View commit details
    Browse the repository at this point in the history