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

Cannot import the package using ES6 import #8

Open
mayppong opened this issue May 11, 2016 · 0 comments
Open

Cannot import the package using ES6 import #8

mayppong opened this issue May 11, 2016 · 0 comments

Comments

@mayppong
Copy link

Because the name of the module being export in index.js isn't the same name as the angular module name used in the source files, it's not possible to import ngTimerpicker through the index.js file

import ngTimepicker from `ngTimepicker`;
angular.module('some_project', [ngTimepicker]);

The code above won't work unless index.js file is exporting the name jkuri.timepicker.

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

1 participant