Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

ES6 npm modules not supported #1207

@chrischen

Description

@chrischen

If an ES6 npm module is imported gluestick currently ignores it due to the default ignoring of all node_modules files.

Attempted workaround prepending "compiled" as in import something from 'compiled/package' to force it to go through babel, however this does not seem to work and causes the ES6 code to leak into the static bundle, as well as causes uglify to fail (the bundled uglify version doesn't support ES6 minification).

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