Skip to content

Commit 39605f2

Browse files
authored
Merge pull request #515 from jlengrand/feat/update-deps
Upgrade autoprefixer and postcss related libraries
2 parents 49fbd66 + 958d663 commit 39605f2

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ When you have a local copy of the project up and running, create a new branch wi
2424
git checkout -b patch-1
2525
```
2626

27-
Create Elm App uses [Commitizen](https://github.com/commitizen/cz-cli) and [semantic-release](https://github.com/semantic-release/semantic-release) for release automatization.
27+
Create Elm App uses [Commitizen](https://github.com/commitizen/cz-cli) and [semantic-release](https://github.com/semantic-release/semantic-release) for release automation.
2828

2929
Commit changes by running `npm run cz`
3030

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ platform:
77
environment:
88
matrix:
99
# node.js
10-
- nodejs_version: "8"
1110
- nodejs_version: "12"
11+
- nodejs_version: "14"
1212

1313
matrix:
1414
fast_finish: true

config/webpack.config.dev.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,14 @@ module.exports = {
210210
options: {
211211
// Necessary for external CSS imports to work
212212
// https://github.com/facebook/create-react-app/issues/2677
213-
ident: 'postcss',
214-
plugins: () => [
215-
require('postcss-flexbugs-fixes'),
216-
autoprefixer({
217-
flexbox: 'no-2009',
218-
}),
219-
],
213+
postcssOptions: {
214+
plugins: () => [
215+
require('postcss-flexbugs-fixes'),
216+
autoprefixer({
217+
flexbox: 'no-2009',
218+
}),
219+
],
220+
},
220221
},
221222
},
222223
],

config/webpack.config.prod.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,14 @@ module.exports = {
261261
options: {
262262
// Necessary for external CSS imports to work
263263
// https://github.com/facebook/create-react-app/issues/2677
264-
ident: 'postcss',
265-
plugins: () => [
266-
require('postcss-flexbugs-fixes'),
267-
autoprefixer({
268-
flexbox: 'no-2009',
269-
}),
270-
],
264+
postcssOptions: {
265+
plugins: () => [
266+
require('postcss-flexbugs-fixes'),
267+
autoprefixer({
268+
flexbox: 'no-2009',
269+
}),
270+
],
271+
},
271272
},
272273
},
273274
],

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@babel/preset-env": "7.11.5",
2424
"@babel/runtime": "7.11.2",
2525
"assets-webpack-plugin": "3.9.12",
26-
"autoprefixer": "8.6.5",
26+
"autoprefixer": "10.0.1",
2727
"babel-loader": "8.1.0",
2828
"babel-runtime": "6.26.0",
2929
"case-sensitive-paths-webpack-plugin": "2.3.0",
@@ -49,8 +49,8 @@
4949
"object-assign": "4.1.1",
5050
"optimize-css-assets-webpack-plugin": "5.0.3",
5151
"postcss-flexbugs-fixes": "4.2.1",
52-
"postcss-loader": "3.0.0",
53-
"postcss-safe-parser": "4.0.2",
52+
"postcss-loader": "4.0.3",
53+
"postcss-safe-parser": "5.0.2",
5454
"promise": "8.1.0",
5555
"prompt": "1.0.0",
5656
"react-dev-utils": "6.1.1",

0 commit comments

Comments
 (0)