You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new configuration directive, add_webassets_setting, that updates the
provided key and value in the webassets environment configuration can be
called from Configurator instances.
A new configuration directive, add_webassets_path, that adds an
additional mapping from a path to a URL prefix can be called from Configurator instances. Patch by Jason Brumwell.
A new paths setting allows a JSON dictionary of mappings from paths to
URLs to be specified in order to support multiple load paths and URL
prefixes. Patch by metagriffin.
A new cache_max_age setting controls the expiration and caching
behavior of the static view. The value of this setting is passed through to
the add_static_view invocation.
A bundles setting can now be specified which lists YAML files to parse
for bundle definitions. Earlier entries override bundles defined in later
entries. Patch by metagriffin and multiple value support by Randall Leeds.
See https://github.com/pyramid_webassets/issues/35 .
Configuration values prefixed with the string 'json:' are parsed as JSON
before being passed to webassets. Patch by metagriffin.
Bug Fixes
Assets can now be built without an active request.
The cache and manifest options now support valid non-boolean values
as described by the webassets documentation. Patch by Mike Wirth. See https://github.com/pyramid_webassets/issues/11 .
Add an example of building assets from the command line.
Include the MIT License.
Backwards Incompatibilities
Support for webassets releases older than v0.8 has been dropped.
A static view for the configured directory and url is no longer added
automatically. Set the configuration value static_views to true to have
it added when pyramid_webassets is included.