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

ES6 module version? #3

Open
eventualbuddha opened this issue Aug 18, 2015 · 0 comments
Open

ES6 module version? #3

eventualbuddha opened this issue Aug 18, 2015 · 0 comments

Comments

@eventualbuddha
Copy link

To ease bundling of get-window (and get-document) in keysim.js I'm interested in using a version of these libraries written using ES6 module syntax. The practice others and I have been angling for is to write in ES6 (e.g. lib/get-window.js), build a UMD file for other module systems (e.g. dist/get-window.js), and ship both in the npm package. The package.json would then be annotated with a jsnext:main entry to tools like rollup can automatically find the ES6 version and use it.

If you're not interested, I understand. I'll simply use my own fork.

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