suit-webpack-plugin
This is a webpack plugin for suitcss-utils's dependency manager, that helps to compile imported utilities. (based on suitcss-preprocessor)
Getting started
Install the plugin:
npm i -D suit-webpack-plugin
or
yarn add -D suit-webpack-plugin
Usage
// import package
const SuitCSS = require('suit-webpack-plugin')
// use package as a webpack plugin
new SuitCSS({ from: 'source', to: 'dest' })
API
prop | description |
---|---|
from | file path where you import utilities |
dest | compiled/bundled file path location to save |