ember-codemods / ember-native-class-codemod

A codemod-cli project for converting Ember objects to es6 native classes
68 stars 38 forks source link

Switch to babel parser #501

Closed gitKrystan closed 1 year ago

gitKrystan commented 1 year ago

This is a bit of a yak shave.

  1. This codemod currently does not support legacy decorators, but we have users stuck on Ember classic that use legacy decorators (specifically, decorators in object literals).
  2. The currently-used Flow parser does not support legacy decorators, necessitating a switch to the babel parser.

See also: https://github.com/gitKrystan/ember-native-class-codemod/pull/1, https://github.com/gitKrystan/ember-native-class-codemod/pull/2