gulp-jspm-assets
Consume css, images, ... assets from jspm all via a nice stream
API
jspmAssets(packageName, glob)
Returns a new instance of JspmAssetStream
jspmAssets(config)
Returns a merged stream of all the assets in the config object Config object:
JspmAssetStream(options)
Constructor creates a new file stream matching files in the requested jspm package
Options
- packageName: name of an installed jspm package
- glob: glob required to match files in the jspm package folder
Usage
var gulp = ;var jspmAssets = ;var minify = ; gulp;
Or you can use a glob to match multiple files
var gulp = ;var jspmAssets = ; gulp;
Use a config object to get assets from multiple jspm packages
var gulp = ;var jspmAssets = ; gulp;
Or pipe a stream to it to append jspm package assets to it
var gulp = ;var jspmAssets = ; gulp;