-
Notifications
You must be signed in to change notification settings - Fork 3
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
Gulp task? ES6 classes? #17
Comments
I created this gulp task for now. Haven't tested it yet. https://github.com/kristianmandrup/gulp-futurejs-compile Please review ;) |
FutureScript classes are compiled to ES6 class. But if you use Babel, it will not be ES6 classes. FutureScript's |
I'm not familiar with Polymer. |
FutureScript compiler itself isn't using any node modules like |
I already created a small gulp plugin for compiling FutureScript code as noted in my last comment. Thanks for answering my questions about classes. Looks like I will have to first compile with FutureScript compiler then with Babel after? |
Yes, I suggest using Babel, particularly if the code will be run on browsers. |
Is there a gulp task for futurescript compilation?
I'd like to use it with Polymer using a custom build pipeline, here the one for es6 via babel
I guess I'd have to create my own little gulp task for futurescript! :)
gulp-marko-compile could be a good baseline with this guide
Btw, can/does FutureScript classes compile to ES6 compatible classes with
extends
?Ie. can it generate something akin to this ES6 class based syntax for Polymer 2?
The text was updated successfully, but these errors were encountered: