# HG changeset patch # User Ludovic Chabant # Date 1526880000 25200 # Node ID c8fb7b024faa844d06a83f6449a26959aedbe94a # Parent 10fd55b9ccfb907d854e989e7a8d6b4b7577bf82 bake: Disable `uglifyjs` and `cleancss` by default. There's a good chance a new user doesn't have them installed. diff -r 10fd55b9ccfb -r c8fb7b024faa piecrust/__init__.py --- a/piecrust/__init__.py Tue Apr 24 21:27:46 2018 -0700 +++ b/piecrust/__init__.py Sun May 20 22:20:00 2018 -0700 @@ -19,7 +19,7 @@ PIECRUST_URL = 'https://bolt80.com/piecrust/' -CACHE_VERSION = 32 +CACHE_VERSION = 33 try: from piecrust.__version__ import APP_VERSION diff -r 10fd55b9ccfb -r c8fb7b024faa piecrust/appconfigdefaults.py --- a/piecrust/appconfigdefaults.py Tue Apr 24 21:27:46 2018 -0700 +++ b/piecrust/appconfigdefaults.py Sun May 20 22:20:00 2018 -0700 @@ -40,6 +40,11 @@ 'cache_time': 28800, 'enable_debug_info': True, 'show_debug_info': False + }), + 'pipelines': collections.OrderedDict({ + 'asset': collections.OrderedDict({ + 'processors': ['all', '-uglifyjs', '-cleancss'] + }) }) }) diff -r 10fd55b9ccfb -r c8fb7b024faa piecrust/pipelines/asset.py --- a/piecrust/pipelines/asset.py Tue Apr 24 21:27:46 2018 -0700 +++ b/piecrust/pipelines/asset.py Sun May 20 22:20:00 2018 -0700 @@ -38,8 +38,8 @@ self.app.config.get('pipelines/asset/processors'), self.source.config.get('processors')]: if flt is not None: - logger.debug("Filtering processors to: %s" % flt) processors = get_filtered_processors(processors, flt) + logger.debug("Filtering processors to: %s" % processors) # Invoke pre-processors. proc_ctx = ProcessorContext(self)