Concatenate CSS using rework and the rework-imports plugin.
First, you need to have gobble installed - see the gobble readme for details. Then, simply reference
'concat-css' in a
transform, and gobble will take care of getting the plugin installed.
You can use this transform in two modes.
@import) or you need to control the order in which they are concatenated, you can create an entry file that references all of the files you need and specify it as an entry point.
entry option is specified, then the first mode will be used.
sourcemap- boolean - defaults to true - whether or not to generate sourcemaps - alias
sourceMapto match other plugin convention
dest- string - defaults to
'bundle.css'- the name of the file to output
debug- boolean -
console.logeach url that is adjusted
entry- string - name of the file from which to start - if not specified an entry
@importing all available css files will be created for you
Copyright (c) 2014 Chris Reeves. Released under an MIT license.