jmikola/JmikolaJsAssetsHelperBundle — Issue #3: Useless getPackage method
Author: stof
Created: 2011-11-10 15:18:22+00:00
State: open

Because of the way the compilation is done (using the advanced mode ofr the optimization), the keys in the packages are renamed to shorter ones. There is 2 solutions here:

- force the compiler to preserve the keys by adding this in the externs. Issue: this will forbid most of the optimizations of the renaming as packages are the central part
- remove the ``getPackage`` method from the exported API. I don't really see why a user would need it as the helper already defines methods to get the version and the url (and they work as these one take the renaming into account)