panel.compiler module#
Utilities for building custom models included in panel.
- panel.compiler.bundle_licenses(verbose=False, download_list=None)[source]#
Bundles the license of every third-party library collected so far.
Has to run after the other bundle_* functions, since the set of licenses is derived from the urls they collected.
- panel.compiler.prune_unminified_duplicates(verbose=False)[source]#
Drops every bundled file that also has a minified build alongside it.
Runs over the finished bundle rather than over each archive because the two builds do not always come from the same place: reveal.js publishes only
reveal.cssin its tarball, and Panel fetchesreveal.min.cssfrom the CDN because that is the one the template asks for.