A working example about the article I've written:
Power-up your CSS Mixins by writing them with Javascript.
- Faster compilation time
- Prettier and advanced logic than the @if | @for | $list
- Access to values outside the CSS files
- Unit testing — yes, put your CSS to the proof!
Built with Webpack 2, Babel, PostCSS and Jest
npm install
npm start
- Demo at http://localhost:3000/npm test
- run tests with Jest