Merge pull request #197 from kognise/refactor/browserslist

Use env-less browserslist, autoprefix docs/style.css
This commit is contained in:
Kognise
2020-05-30 19:12:02 -05:00
committed by GitHub
2 changed files with 5 additions and 7 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ const style = () => {
.pipe(endDiff('css variables'))
.pipe(startDiff())
.pipe(postcss([autoprefixer({ env: 'legacy' })]))
.pipe(postcss([autoprefixer()]))
.pipe(endDiff('autoprefixer'))
.pipe(sourcemaps.write('.'))
@@ -118,7 +118,7 @@ const docs = () => {
// * Process CSS *
.pipe(cssOnly)
.pipe(sourcemaps.init())
.pipe(postcss([cssnano()]))
.pipe(postcss([autoprefixer(), cssnano()]))
.pipe(sourcemaps.write('.'))
.pipe(cssOnly.restore)
+3 -5
View File
@@ -64,11 +64,9 @@
"stylelint": "^13.5.0",
"stylelint-config-standard": "^20.0.0"
},
"browserslist": {
"legacy": [
"defaults AND not android 4.4.3"
]
},
"browserslist": [
"defaults"
],
"files": [
"dist/*.css",
"LICENSE.md"