Module for merge styles in the project.
The module scans directories and merges all .css
and .scss
files in one minified css file.
npm install combine-styles-processor --save
import Processor from 'combine-styles-processor';
const processor = new Processor(
[
/* dirs or files to process */
],
outFile,
);
await processor.process();
For imports in node_modules can be used ~.
- CLI
- Plugins
- Update relative paths in the sass import
- new sass compiler