Rollup plugin to serve the bundle
Adopted from https://github.com/thgh/rollup-plugin-serve Add cors & range-header supports
Installation
npm install --save-dev rollup-plugin-dev-server
Usage
// rollup.config.js input: 'entry.js' output: file: 'dist/bundle.js' format: ... plugins:
Options
By default it serves the current project folder. Change it by passing a string:
// will be used as contentBase // Default options
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Contributions and feedback are very welcome.
To get it running:
- Clone the project.
npm install
npm run build
Credits
License
The MIT License (MIT). Please see License File for more information.