Closed runspired closed 11 months ago
This PR https://github.com/babel/ember-cli-babel/pull/462 Which partially reverted this PR https://github.com/babel/ember-cli-babel/pull/460
Falls victim to a common issue with destructuring that is unsafe for broccoli-babel-transpiler because broccoli-babel-transpiler treats undefined as unserializable.
undefined
Specifically these lines need to account for undefined values https://github.com/bertdeblock/ember-cli-babel/blob/188d15abcba3830dd7ca0b22abe10453d5a6fea3/index.js#L151-L175
This PR https://github.com/babel/ember-cli-babel/pull/462 Which partially reverted this PR https://github.com/babel/ember-cli-babel/pull/460
Falls victim to a common issue with destructuring that is unsafe for broccoli-babel-transpiler because broccoli-babel-transpiler treats
undefined
as unserializable.Specifically these lines need to account for undefined values https://github.com/bertdeblock/ember-cli-babel/blob/188d15abcba3830dd7ca0b22abe10453d5a6fea3/index.js#L151-L175