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

Adding path to 'main' in package.json for module loaders #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheOneTheOnlyDavidBrown
Copy link

@TheOneTheOnlyDavidBrown TheOneTheOnlyDavidBrown commented Aug 19, 2016

This allows developers to use the package with a module loader instead of a file path reference. For example in Webpack, you could import it by require('ng-img-crop')

@fabiopaiva-praxis
Copy link

+1

@ghost
Copy link

ghost commented Dec 22, 2016

+1!! @alexk111 Any update on it please? This is holding us back to use it in production.

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

Successfully merging this pull request may close these issues.

2 participants