WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

ES6 module version? #3

@eventualbuddha

Description

@eventualbuddha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions