mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
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:
parent
978ffe0eb6
commit
7ad20d1325
File diff suppressed because one or more lines are too long
@ -43,7 +43,7 @@ function css(done) {
|
||||
easyimport,
|
||||
customProperties({preserve: false}),
|
||||
colorFunction(),
|
||||
autoprefixer({browsers: ['last 2 versions']}),
|
||||
autoprefixer(),
|
||||
cssnano()
|
||||
];
|
||||
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user