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:
@@ -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)
|
||||
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user