Closed colenso closed 1 year ago
Thanks, this looks good to me. Not having it is definitely a gap, and telling people to switch to useBabelConfig: true
(as mentioned in other issues about this) without creating an upgrade path for their addon-provided babel plugins isn't really a viable alternative at this time.
The 8.0.0 release is imminent, so this will be in there. I don't think 8.0 will be a difficult upgrade for most people, but if it turns out to be we can also consider back-porting this.
Awesome! Thanks
Allows passing in
generatorOpts
to babel https://babeljs.io/docs/en/options#generatoropts without passing it to preset-env. This will allow passing options likecompact
etc to babel. Did this as referenced in https://github.com/ef4/ember-auto-import/issues/549#issuecomment-1330104695