Skip to content

Support module import #82

@windmaomao

Description

@windmaomao

Currently, if I pull this repo, I can't actually import it as a module. I have to make some changes to the top, ex.

  var exports = module.exports = (function () {

It'll be great we can have some dynamic detection if a module or browser is requesting this file. Thank you very much, really liked this piece of work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions