tentacle-bundle

1.0.0 • Public • Published

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']);

Package Sidebar

Install

npm i tentacle-bundle

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • janbiasi