Rollup plugin to serve the bundle
# Rollup v0.60+ and v1+ npm install --save-dev rollup-plugin-serve # Rollup v0.59 and below npm install --save-dev rollup-plugin-serve@0
// rollup.config.jsinput: 'src/main.js'output:file: 'dist/bundle.js'format: ...plugins:
By default it serves the current project folder. Change it by passing a string:
// will be used as contentBase// Default options
Please see CHANGELOG for more information what has changed recently.
Contributions and feedback are very welcome.
This project aims to stay lean and close to standards. New features should encourage to stick to standards. Options that match the behaviour of webpack-dev-server are always ok.
To get it running:
- Clone the project.
npm run build
The MIT License (MIT). Please see License File for more information.