Run ember new --yarn ember-cli-babel-bug. Then modify config/targets.js to be just ['firefox 35']. To ember-cli-build.js add:
'ember-cli-babel': {
includeExternalHelpers: true,
includePolyfill: true,
},
Run the app with ember serve and watch it blow in a browser.
A few things to note - using npm instead of yarn fixes the issue. Downgrading all @babel packages to 7.17.x also fixes the issue. I think this is somewhat related.
Run
ember new --yarn ember-cli-babel-bug. Then modifyconfig/targets.jsto be just['firefox 35']. Toember-cli-build.jsadd:Run the app with
ember serveand watch it blow in a browser.A few things to note - using
npminstead ofyarnfixes the issue. Downgrading all@babelpackages to7.17.xalso fixes the issue. I think this is somewhat related.