Build custom libraries¶
We use fabric-webbuilders to build customized versions of jQuery and Bootstrap.
Build a custom version of jQuery (latest 2.x version):
or e.g a different version with different modules (see Modules, we assume that you know what you are doing here):
Build a custom version of Bootstrap (latest 3.x version):
Bootstrap has no built-in support for building a customized version locally.
somewhat shakey support for passing a
config.json file as generated at Customize and download. By default,
fab build_bootstrap already passes a file to minimize
JS/CSS size, but you can pass a different config as well:
If you run into problems with this, you are advised to use the custom builder on their homepage instead.
Build bootstrap-specific CSS¶
A small less-file using bootstrap variables is compiled using less:
Build minified CSS¶
To build minified CSS, use: