Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ES6 module version? #3

Open
Open

Description

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /