Bootstrap Generator
Generating custom Bootstrap JS files. Only use the parts you need. The generator makes sure you load the right parts. For Bootstrap 4+ either Tether or PopperJs are automatically downloaded and included in the resulting file.
Install
$ npm install --save bootstrap-generator
Usage
Example:
var bootstrap = ; ;
Options
Name | Type | Default | Description |
---|---|---|---|
location | string |
./node_modules/bootstrap/js/dist/ |
Location of Bootstrap js files |
destination | string |
./ |
Destination for Bootstrap Files |
files | Object |
All parts are included | Which parts of bootstrap do you want to use |
minify | Boolean |
True |
Generate minified version of Bootstrap.js |
gzip | Boolean |
True |
Generate gzip version of Bootstrap.js |
Changelog
v1.0.0 - 2017-12-03
- Initial release