emberjs / ember-cli-babel

Ember CLI plugin for Babel
MIT License
153 stars 119 forks source link

Support static class blocks when _not_ using an explicit babel config file. #503

Closed NullVoxPopuli closed 10 months ago

NullVoxPopuli commented 10 months ago

In https://github.com/babel/ember-cli-babel/pull/502 Support for static blocks was added only when using an explicit babel config.

This PR adds the implicit / default support that most folks would use in today's ember apps.

I had missed this because I didn't, at the time, know that the paths for generating which babel plugins we need between the two setups (with and without a babel config) use separate code.

Unblocks: https://github.com/ember-template-imports/ember-template-imports/pull/187