Skip to content

Instantly share code, notes, and snippets.

@mohnatus
Last active April 9, 2020 11:07
Show Gist options
  • Select an option

  • Save mohnatus/a370f4488e90159aa7bacf4b2e52d950 to your computer and use it in GitHub Desktop.

Select an option

Save mohnatus/a370f4488e90159aa7bacf4b2e52d950 to your computer and use it in GitHub Desktop.
SCSS handle
{
"devDependencies": {
"autoprefixer": "^9.7.3",
"node-sass": "^4.13.0",
"postcss-cli": "^6.1.3"
},
"scripts": {
"css:dev": "node-sass src/scss/style.scss style.css -w",
"css:prebuild": "node-sass src/scss/style.scss style.css",
"css:postcss": "postcss style.css -r --use autoprefixer -c postcss.config.js",
"css:build": "npm run css:prebuild && npm run css:postcss"
},
"browserslist": [
"> 1%",
"last 3 version"
]
}
module.exports = {
plugins: {
autoprefixer: require('autoprefixer'),
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment