combine-styles-processor
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-processor --save
Usage
import Processor from 'combine-styles-processor';
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