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

Targeting main file for importing with npm #62

Merged
merged 2 commits into from Mar 27, 2016
Merged

Targeting main file for importing with npm #62

merged 2 commits into from Mar 27, 2016

Conversation

ghost
Copy link

@ghost ghost commented Mar 23, 2016

When using npm and ES6 loaders such jspm (System.js).
We have to import angular-easyfb/src/angular-easyfb instead of just angular-easyfb, because of package.json main file being index.js which doesn't exist.
Pointing to main file in build directory fixes this.

We could also point to build file if needed.

When using npm and ES6 loaders such jspm (System.js).
We have to import `angular-easyfb/src/angular-easyfb` instead of just `angular-easyfb`, because of package.json main file being index.js which doesn't exist.
Pointing to main file in build directory fixes this.

We could also point to build file if needed.
@pc035860
Copy link
Owner

HI @wesleycoder,

Can you change the path to "build/angular-easyfb.js" ? I'll merge it asap

As requested.
@pc035860 pc035860 merged commit 8361ea2 into pc035860:master Mar 27, 2016
@pc035860
Copy link
Owner

Great, Thanks!

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