Skip to content

Commit

Permalink
fix(v2): remove no longer used postcss-present-env from dependencies (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 authored Mar 29, 2021
1 parent 11843a0 commit 5534aff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 335 deletions.
1 change: 0 additions & 1 deletion packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"pnp-webpack-plugin": "^1.6.4",
"postcss": "^8.2.7",
"postcss-loader": "^4.1.0",
"postcss-preset-env": "^6.7.0",
"prompts": "^2.4.0",
"react-dev-utils": "^11.0.1",
"react-helmet": "^6.1.0",
Expand Down
9 changes: 1 addition & 8 deletions website/docs/lifecycle-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,7 @@ By default, `postcssOptions` looks like this:
```js
const postcssOptions = {
ident: 'postcss',
plugins: [
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009',
},
stage: 4,
}),
],
plugins: [require('autoprefixer')],
};
```

Expand Down
Loading

0 comments on commit 5534aff

Please sign in to comment.