tentacle-bundle

Plugin for tentacle to bundle files

Usage no npm install needed!

<script type="module">
  import tentacleBundle from 'https://cdn.skypack.dev/tentacle-bundle';
</script>

README

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