1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-08 06:06:57 +02:00

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

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)

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"