You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
To ease bundling of
get-window
(andget-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. Thepackage.json
would then be annotated with ajsnext: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.
The text was updated successfully, but these errors were encountered: