✨ Make rjsmin use configurable again
This commit is contained in:
1 parent
00a5243ec9
commit
6b379fbef3
1 file changed
+6
-2
@@ -1588,8 +1588,12 @@ class Server(object):
|
||||
|
||||
# -- JS --------------------------------------------------------------------------------------------------------
|
||||
|
||||
js_filters = ["sourcemap_remove", "js_delimiter_bundler", "rjsmin", "gzip"]
|
||||
js_plugin_filters = ["sourcemap_remove", "js_delimiter_bundler", "rjsmin", "gzip"]
|
||||
filters = ["sourcemap_remove", "js_delimiter_bundler"]
|
||||
if self._settings.getBoolean(["devel", "webassets", "minify"]):
|
||||
filters.append("rjsmin")
|
||||
filters.append("gzip")
|
||||
|
||||
js_filters = js_plugin_filters = filters
|
||||
|
||||
def js_bundles_for_plugins(collection, filters=None):
|
||||
"""Produces JsPluginBundle instances that output IIFE wrapped assets"""
|
||||
|
||||
Reference in new issue
Block a user