Skip to content

Instantly share code, notes, and snippets.

@samueleiche
Last active February 17, 2020 16:01
Show Gist options
  • Save samueleiche/fba78315f468321c7673b5d567b8f715 to your computer and use it in GitHub Desktop.
Save samueleiche/fba78315f468321c7673b5d567b8f715 to your computer and use it in GitHub Desktop.
Sass postcss config 2020
{
"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