Skip to content

zabkwak/combine-styles

Repository files navigation

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(
	[
		/* dirs or files to process */
	],
	outFile,
);

await processor.process();

Sass import

For imports in node_modules can be used ~.

TODO

  • CLI
  • Plugins
  • Update relative paths in the sass import
  • new sass compiler

About

Module for merge styles in the project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published