Autoprefixer 9.7 brings AUTOPREFIXER_GRID environment variable and huge performance improvments.
Grid Environment Variable
Autoprefixer can add CSS Grid polyfills for IE. You need to manually enable it to prove that you understand the limits of polyfill.
In previous versions you can enable Grid polyfill by grid: 'autoplace' option or by /* autoprefixer grid: autoplace */ control comment. But in some cases, developers were not able to use both methods. For instance, during work with Material UI’ CSS-in-JS in Create React App.
Now Autoprefixer supports environment variable to enable CSS Grid polyfill:
AUTOPREFIXER_GRID=autoplace npm build
Performance Improvements
@Knagisfound that Browserslist takes 70% of the Autoprefixer time.
We did a lot of improvements in Browserslist and now Autoprefixer should work much faster.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ autoprefixer (9.6.1 → 9.7.1) · Repo · Changelog
Release Notes
9.7.1
9.7.0
9.6.5
9.6.4 (from changelog)
9.6.3 (from changelog)
9.6.2 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 38 commits:
Release 9.7.1 version
Update dependencies
Feature/vendor specific transition (#1260)
Update ESLint config
Fix fit-content in Firefox
Revert fit-content fix
Fix fit-content prefix
Fix typo (#1259)
Release 9.7 version
Update PostCSS
Fix size limit
Fix env variable nam
Update dependencies
Add Node.js 13 to CI
Fix ESLint path
Fix missed options error
Fix ESLint
Add AUTOPREFIXER_GRID env support
Update dependencies
Release 9.6.5 version
Update dependencies
Bugfix/separate selectors (#1253)
Release 9.6.4 version
Uncomment line
Release 9.6.3 version
Fix undefined node error
Release 9.6.2 version
Fix npm ignore
Clean up ignore files
Fix false warning
Update dependencies
Clean up code
Put OpenCollective first
Add OpenCollective
Update dependencies
Fix Size Limit on CI
Fix CI
Update dependencies
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands