Skip to content
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

Minification #6

Closed
lfarrell opened this issue Aug 17, 2015 · 2 comments
Closed

Minification #6

lfarrell opened this issue Aug 17, 2015 · 2 comments

Comments

@lfarrell
Copy link

First off, thanks for a very cool module.
Does the module work with minification? Minifying the code using standard Angular annotations to preserve dependency injection doesn't seem to work. Module works great if left un-minified.

Thanks,

Dean

@bevacqua
Copy link
Owner

I don't see why it wouldn't work, the ['dep', 'dep', ..., function () { ... }] pattern is used everywhere

@lfarrell
Copy link
Author

Thanks, you are correct. Needed to do this:
angular.module('test', ['ngRoute', 'ui.bootstrap', angularDragula(angular)])
Not this to build correctly.
angular.module('test', ['ngRoute', 'ui.bootstrap', 'angularDragula(angular)'])

Thanks again for a great project,

Dean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants