create-js-for-template-only-components

v0.0.3
Add a .js file for existing template-only components
ember template-only-glimmer-components

create-js-for-template-only-components

In order to enable template-only-glimmer-components in an existing application, a .js file needs to be created for any existing template-only components. This will maintain backwards compatibility for existing templates while new template-only components gain the advantages of this feature. This script will create those missing .js files for you.

Run the following from the root of your project:

npx create-js-for-template-only-components

Working with Emblem?

TEMPLATE_EXTENSION=".emblem" npx create-js-for-template-only-components

This does not work with pods.

npm i create-js-for-template-only-components

Metadata

  • MIT
  • Whatever
  • David Tang
  • released 1/15/2020

Downloads

Maintainers