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

Add support for ES6 module import #10

Open
LostInBrittany opened this issue Nov 5, 2018 · 0 comments
Open

Add support for ES6 module import #10

LostInBrittany opened this issue Nov 5, 2018 · 0 comments

Comments

@LostInBrittany
Copy link

Hi!

I think it would be nice if select was available as an ES6 module. The hidden goal for me is having clipboard.js available as an ES6 module (fixing zenorocha/clipboard.js#568).

In a first time, you could simply expose an module/select.js file and declare it in a module field in package.json. And then, in a second time, you could use the ES6 version as the baseline and generate the commonJS module via Rollup...

What do you think?

LostInBrittany added a commit to LostInBrittany/select that referenced this issue Nov 5, 2018
LostInBrittany added a commit to LostInBrittany/select that referenced this issue Nov 5, 2018
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