Skip to content

Commit

Permalink
feat(v2): postcss should only use stage 3 features instead of stage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed Oct 23, 2019
1 parent 11f9977 commit e3dc29f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Add sticky footer.
- Remove empty doc sidebar container
- PostCSS preset env now only polyfills Stage 3 features (previously it was stage 2) like Create React App. Stage 2 CSS is considered relatively unstable and subject to change while Stage 3 features will likely become a standard.

## 2.0.0-alpha.30

Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus/src/webpack/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export function getStyleLoaders(
autoprefixer: {
flexbox: 'no-2009',
},
stage: 3,
}),
],
},
Expand Down

0 comments on commit e3dc29f

Please sign in to comment.