-
Notifications
You must be signed in to change notification settings - Fork 31
Support for Glimmer AST Plugins #141
Comments
Please let me know if I've missed any features that already enable this use case 🙂 |
Ya, we can leverage the registry (like is done in ember-cli-htmlbars) to allow addons to register their custom AST plugins, then pass them forward to |
Awesome. Happy to help add a Also, wow Ember addons hoping to provide ast plugins for both an Ember and Glimmer project would register both a |
Exactly! Also, the |
confirm 😉 |
Looks like we'll need a 3.2.0 release of |
Also of note: GlimmerBundleCompiler from |
Closed with #145 |
Expectiation
I can easily supply custom Glimmer AST plugins either in
ember-cli-build.js
, or via an addon.Behavior
The invocation site for
GlimmerJSONCompiler
has no mechanism to pass Glimmer AST plugins provided inember-cli-build.js
to the underlyingember-build-utils
GlimmerTemplatePrecompiler
, despite plugins being supported by theember-build-utils
.It would be helpful if addons could also provide plugins programmatically! This would probably require more architecting than just passing in plugins from
ember-cli-build.js
.Related: #139.
glimmer-app
currently does nothing with registered template preprocessors. This makes it that much more difficult to work around the lack of Glimmer plugin support.The text was updated successfully, but these errors were encountered: