mirror of
https://github.com/kognise/water.css.git
synced 2026-01-21 12:35:44 +01:00
Merge pull request #197 from kognise/refactor/browserslist
Use env-less browserslist, autoprefix docs/style.css
This commit is contained in:
commit
f65e48dc96
2 changed files with 5 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue