ember-cli / babel-plugin-htmlbars-inline-precompile

Babel plugin to replace tagged template strings with precompiled HTMLBars templates
9 stars 21 forks source link

Implements an option to support the template tag imports proposal #336

Closed pzuraq closed 3 years ago

pzuraq commented 3 years ago

Implements the useTemplateTagProposalSemantics option for individual modules. This proposal is outlined in the README for the template-imports addon, here.

This transform is itself a compile target for a preprocessing step that will occur before the JS is passed to Babel. As such, the exact format supported in real JS is a bit different. The accepted forms are documented with the transform itself.