I include ember-truth-helpers as part of my own addon (let's say ember-foo-bar) in dependencies. When I install ember-foo-bar in an app that has config/targets.js set to add include Safari 13, ember serve breaks.
I believe this is happening because ember-cli-babel from here is being used as a preprocess because it's in dependencies of ember-foo-bar, and that preprocessor has an outdated version of browserslist which throws because it doesn't know about Safari 13.
Some workarounds I can think of but haven't tested yet:
Move e-t-h to devDeps of ember-foo-bar
Update browserlist directly? (not sure if there's a way to do this for something so nested)
But I'm filing this since ember-cli-babel@7 has been out for a while and it probably makes sense to update it here too.
I include ember-truth-helpers as part of my own addon (let's say
ember-foo-bar
) independencies
. When I installember-foo-bar
in an app that hasconfig/targets.js
set to add includeSafari 13
,ember serve
breaks.I believe this is happening because ember-cli-babel from here is being used as a preprocess because it's in dependencies of
ember-foo-bar
, and that preprocessor has an outdated version ofbrowserslist
which throws because it doesn't know about Safari 13.Some workarounds I can think of but haven't tested yet:
e-t-h
to devDeps of ember-foo-barBut I'm filing this since ember-cli-babel@7 has been out for a while and it probably makes sense to update it here too.