1.0.0 • Published 9 years ago

tentacle-bundle v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Plugin for tentacle to bundle multiple files e.g. CSS or JavaScript in one file

Installation

npm install --save-dev tentacle-bundle

Usage

var tentacle = require('tentacle-js');
var rimraf = require('tentacle-bundle');

tentacle.task('bundle:css', function() {
    return tentacle.read(['assets/*.css', 'custom/*.css'])
        .pipe(bundle('bundle.css'))
        .pipe(tentacle.write('./dist'));
});

tentacle.task('default', ['bundle:css']);