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

ES6 npm modules not supported #1207

Open
chrischen opened this issue Aug 4, 2018 · 0 comments
Open

ES6 npm modules not supported #1207

chrischen opened this issue Aug 4, 2018 · 0 comments

Comments

@chrischen
Copy link

chrischen commented Aug 4, 2018

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant