lifeart / ember-cli-inline-template-only-components

Inline Template only components for Ember.JS
MIT License
9 stars 0 forks source link

Deprecation warning #2

Open boris-petrov opened 2 years ago

boris-petrov commented 2 years ago

I started getting a bunch of deprecation warnings when running ember serve:

DEPRECATION: Using class based template compilation plugins is deprecated, please update to the functional style: InlineTemplateTransform [deprecation id: template-compiler.registerPlugin]

I seem to find InlineTemplateTransform only in ember-cli-inline-template-only-components when I grep in my node_modules so I guess the problem lies in this plugin.

lifeart commented 2 years ago

Hi @boris-petrov! Sorry, missed it. Could you share ember version you have?

boris-petrov commented 2 years ago

@lifeart - no worries. I believe I started getting it from Ember 3.28 or perhaps even Ember 3.27. On 3.28 for sure there is a warning. On 4 that's a hard error.

I actually ended up not using the plugin so for me it's low priority. :)