Helpers kit for scss / sass based on webpack
git clone https://github.com/TeriFash/scss-helpers-kit.git
in your folder.
@import "./src/styles/core.scss"
in your scss, or copy folder./src/styles
in project styles
✍ Run installation dependencies.
npm install
oryarn install
🏃 Start Dev Server environment.
npm start
oryarn start
🎁 Build production version.
npm build
oryarn build
🚚 Features:
- ES6 Support via babel (v7)
- SASS Support via sass-loader
- Linting via eslint-loader
When you run npm run build
we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html
.