-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compileStep.packageName to templateCache key #258
Comments
@pward123 that's interesting, can you share a scenario? |
I'm new to angular, so I've been playing around with building a sample application. Here's the repo (the readme has a description of the problem): |
Meteor has to deal with a similar situation when assets are placed in a package. Instead of dropping your_logo_here.png into the main application's /public tree, I'm calling api.addFiles from the ui-login/package.js file. In order to keep packages from overwriting each other's assets, Meteor prepends the package name plus an underscore to create the path to the asset:
|
@pward123 that sounds legit. |
Done. PR #303 |
I like to organize my angular templates into meteor packages to make it easier to use tinytest, etc.
The angular-meteor plugin uses compileStep.inputPath when placing the compiled templates into $templateCache. This causes templates with the same path (relative to their package) to register with the same key in $templateCache.
Any chance of fixing this? (it would be a breaking change)
The text was updated successfully, but these errors were encountered: