Commit 52ab7377 by Timothée Peignier

fix post-processing

parent 9fa71b43
...@@ -27,11 +27,11 @@ class PipelineStorage(StaticFilesStorage): ...@@ -27,11 +27,11 @@ class PipelineStorage(StaticFilesStorage):
for package_name in packager.packages['css']: for package_name in packager.packages['css']:
package = packager.package_for('css', package_name) package = packager.package_for('css', package_name)
output_file = packager.pack_stylesheets(package) output_file = packager.pack_stylesheets(package)
paths.append(output_file) paths[output_file] = (self, output_file)
for package_name in packager.packages['js']: for package_name in packager.packages['js']:
package = packager.package_for('js', package_name) package = packager.package_for('js', package_name)
output_file = packager.pack_javascripts(package) output_file = packager.pack_javascripts(package)
paths.append(output_file) paths[output_file] = (self, output_file)
super_class = super(PipelineStorage, self) super_class = super(PipelineStorage, self)
if hasattr(super_class, 'post_process'): if hasattr(super_class, 'post_process'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment