@donotjs/donot-transform-rollupdeprecated

Rollup for donot.

Usage no npm install needed!

<script type="module">
  import donotjsDonotTransformRollup from 'https://cdn.skypack.dev/@donotjs/donot-transform-rollup';
</script>

README

donot-transform-rollup

Build Status

rollup for donot.

Usage

Using the rollup donot transform plug-in is pretty easy.

var http = require('http'),
    donot = require('donot'),
    RollupTransform = require('donot-transform-rollup');

var server = http.createServer(donot(__dirname + '/public', {
    transforms: [ new RollupTransform({
        // Options
    }) ]
}));

server.listen(8000);

Now .js files in the /public folder will automatically be compiled, rendered and served as rollup compiled versions with the .rollup.js extension.

License

MIT