Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@donotjs/donot-transform-rollup

1.0.0 • Public • Published

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

Keywords

none

Install

npm i @donotjs/donot-transform-rollup

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar