-
Notifications
You must be signed in to change notification settings - Fork 142
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
Add babel plugin for preprocessing templates with ast transforms #1199
Add babel plugin for preprocessing templates with ast transforms #1199
Conversation
Hi @wondersloth, thanks for tackling this. This plugin does the same thing as babel-plugin-stage1-inline-hbs. So perhaps instead you could
|
Oh, also be aware that there are two separate files related to that plugin:
|
I don't think I entirely understand your ask, and I want to clarify what you're suggestions are: Move If I move this file into
At this point I need to hoist more code from OR... Refactor the pieces of I suppose for this it's doable, just requires abstracting out the visitors? |
Discussed concerns in Embroider Office Hours with @ef4 Moving
Recommended path
|
Can this be rebased? looks like a lot of stuff from |
0c97fc1
to
52f89a7
Compare
52f89a7
to
a4f70a0
Compare
@ef4 is there any additional work needed before merge? |
@ef4 @wondersloth any chance we can get this merged today or tomorrow? Looking to announce internally ;) |
In v2 addons there is no way to apply template transforms to components. This is common in addons that use
ember-cli-preprocessor-registry
and register transforms for modifyingtemplates
.sample-babel.config.json
or in asample-babel.config.js
file.