Skip to content

ES6 and NPM packages #26

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

Open
hantsy opened this issue Nov 8, 2016 · 1 comment
Open

ES6 and NPM packages #26

hantsy opened this issue Nov 8, 2016 · 1 comment

Comments

@hantsy
Copy link

hantsy commented Nov 8, 2016

Hi @shawnmclean Thanks for providing IdleJS.

I am trying to integrate Idle in our applications, but I encountered some problems. We are using ES6/Webpack.

I download a copy of idle.js, when import it , none of the following are working.

import './idle';
import Idle from './idle';
import * as Idle from './idle';

Can you provide some suggestion?

BTW, I can not find this lib in NPM, it is not published to NPM?

@dietergeerts
Copy link

Yes, can this be added to npm for easier inclusion in other projects? Thx.

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