CSSplit icon indicating copy to clipboard operation
CSSplit copied to clipboard

CSS splitter that takes your big css file and splits into component specific css files

CSSPLIT

A CSS splitter that takes in your main.css file and splits into component specific css files


Usage   

forthebadge

License PRs Welcome

Usage

The script also allows following values from the commandline.


usage: cssplit -dir -css -ext -exclude

arguments:

-dir  Project Directory
-css  Path to CSS file
-ext  File extensions to parse example=.html,.jsx"
-exclude  Files to exclude

example

cssplit -dir ~/project -css ~/project/main.css -ext ".html,.jsx" -exclude "utils,lib"

Use It

Want to use it ?

Download the binary from the release page CSSplit

or clone the repo and compile it using

  $ cd project
  $ go build