Last active
February 17, 2020 16:01
-
-
Save samueleiche/fba78315f468321c7673b5d567b8f715 to your computer and use it in GitHub Desktop.
Sass postcss config 2020
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "sass-postcss", | |
"version": "1.0.0", | |
"scripts": { | |
"dev": "npm run compile -- --watch", | |
"compile": "sass style.scss:build.css", | |
"build": "npm run compile && postcss -u autoprefixer cssnano -r --map=false build.css" | |
}, | |
"browserslist": [ | |
"> 5%", | |
"last 2 versions", | |
"not ie < 11", | |
"not dead" | |
], | |
"dependencies": { | |
"autoprefixer": "^9.7.4", | |
"cssnano": "^4.1.10", | |
"postcss-cli": "^7.1.0", | |
"sass": "^1.25.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment