Skip to content

feat(app): Add Babel option #998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 17, 2015
Merged

feat(app): Add Babel option #998

merged 5 commits into from
Jun 17, 2015

Conversation

Awk34
Copy link
Member

@Awk34 Awk34 commented Jun 16, 2015

Add a follow up question to the first language selection question to enable
ES6 client support with Babel.

Closes #684

…g babel

Added a follow up question to the first language selection question to enable
ES6 client support with Babel.

Related issue: Any plans for es6 and traceur support? #684
Awk34 and others added 4 commits June 16, 2015 16:32
…g babel

    Building on from the ES6 client preprocessor have added karma config and related
    karma-babel-preprocessor module for ES6 client tests for complete ES6 client support

    Related issue: Any plans for es6 and traceur support? #684
Awk34 added a commit that referenced this pull request Jun 17, 2015
feat(app): Add Babel option
@Awk34 Awk34 merged commit cde443d into master Jun 17, 2015
@Awk34
Copy link
Member Author

Awk34 commented Jun 17, 2015

This will support Babel initially, but I'd like to split it out with it's own language files, so that the scaffold-ed app will start to use some ES2015 features

@Awk34 Awk34 deleted the babel branch June 17, 2015 16:02
@Awk34
Copy link
Member Author

Awk34 commented Jun 19, 2015

Now that I think about it, splitting ES5 and babel code into two separate templates might not be a good idea, as it will just complicate the generator even more. It's bad enough to need to update both the ES5 code and CoffeeScript code simultaneously. Three different places to update would be even worse. One possible solution would be to use Babel code by default, and generate the ES5 code files for the generator by just transpiling the Babel code.

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

Successfully merging this pull request may close these issues.

1 participant