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

Enable ES2015 syntax #15

Closed
call-a3 opened this issue Jan 19, 2016 · 4 comments
Closed

Enable ES2015 syntax #15

call-a3 opened this issue Jan 19, 2016 · 4 comments

Comments

@call-a3
Copy link

call-a3 commented Jan 19, 2016

Add a flag/option to use the new export syntax added in ES2015 instead of module.exports.
Tools like babel used for post-processing might not be configured to recognize both module.exports/require and export/import.

This is a low priority issue, though should be (I think) easy to add.

@sokra
Copy link
Member

sokra commented Feb 24, 2016

I'll try to update all loaders when webpack 2 is stable...

@kevinSuttle
Copy link

@SpaceK33z SpaceK33z mentioned this issue Nov 4, 2016
@SpaceK33z
Copy link
Contributor

#15 has the fix for this. It will be released around the webpack v2 stable release.

@michael-ciniawsky
Copy link
Member

Since webpack >= v2.0.0 has build-in support for JSON now, this is issue obsolete

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

6 participants