-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Introduce babel support #791
Introduce babel support #791
Conversation
8814172
to
ee07fd8
Compare
As for the failure on CI with bundler( |
65938ab
to
f25ffe3
Compare
@@ -132,7 +132,16 @@ def collect_newlines(body) | |||
# Basic tilt engine | |||
class TiltEngine < Engine | |||
def on_slim_embedded(engine, body) | |||
tilt_engine = Tilt[engine] || raise(Temple::FilterError, "Tilt engine #{engine} is not available.") | |||
begin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this specific error message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you meant to mention line 139, I can be convinced to remove it.
However, on the other hand, it's true that Tilt with version 2.0.1 or earlier does not support babel-transpiler which causes failures on some travis matrix.
Could you share the background why we are testing against various version of Tilt gem? So we can come up with appropriate error message, or alternative solution to handle it. Thanks.
If I undestand it correctly then Tilt depends on |
@kuba-machacek sad news... |
@brauliobo |
Is there still interest in this PR? If yes, please update! |
Since Tilt already supports babel, it would be great if slim users are able to write their ES6 code in slim template as inline.
This should suffice #699.