Fixed deprecated autoprefixer config warning when running build tasks

no issue

Passing browser options directly into `autoprefixer()` has been deprecated in favour of general browserslist configuration in `package.json` or a `.browserslistrc` config file

- moved autoprefixer browsers list into `browserslist` config in `package.json`
- updated `autoprefixer` version
This commit is contained in:
Kevin Ansfield
2019-10-20 16:05:37 +02:00
parent 978ffe0eb6
commit 7ad20d1325
4 changed files with 1051 additions and 356 deletions

View File

@ -46,7 +46,7 @@
"contributors": "https://github.com/TryGhost/Casper/graphs/contributors",
"devDependencies": {
"@tryghost/release-utils": "0.3.2",
"autoprefixer": "9.6.1",
"autoprefixer": "9.6.5",
"beeper": "2.0.0",
"cssnano": "4.1.10",
"gscan": "3.0.0",
@ -83,5 +83,8 @@
"width": 2000
}
}
}
},
"browserslist": [
"last 2 versions"
]
}