Commit fcf2c365 by Timothée Peignier

don't try to pack externals package

parent 2f4bc57f
...@@ -73,6 +73,8 @@ class Packager(object): ...@@ -73,6 +73,8 @@ class Packager(object):
return self.versioning.output_filename(package['output'], version) return self.versioning.output_filename(package['output'], version)
def pack_javascripts(self, package, **kwargs): def pack_javascripts(self, package, **kwargs):
if 'externals' in package:
return
return self.pack(package, self.compressor.compress_js, js_compressed, templates=package['templates'], **kwargs) return self.pack(package, self.compressor.compress_js, js_compressed, templates=package['templates'], **kwargs)
def pack_templates(self, package): def pack_templates(self, package):
......
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