combine-styles
Module for merge styles in the project.
The module scans directories and merges all .css
and .scss
files in one minified css file.
Installation
npm install combine-styles --save
Usage
import Processor from 'combine-styles';
const processor = new Processor([], outFile);
await processor.process();
Sass import
The sass processor cannot recognize relative paths in the sass import. However relative paths from the working directory works. For imports in node_modules can be used ~.
TODO
- CLI
- Plugins
- Update relative paths in the sass import