3 ms·
On a side note, I really wish I could learn to tell exactly if a new feature like this is already supported in a project I'm working. babel.config.js is just a
by pqdbr 3y ago
On a side note, I really wish I could learn to tell exactly if a new feature like this is already supported in a project I'm working.
babel.config.js is just a mistery to me. @babel/present-env, targets: { node: 'current' }, forceAllTransforms, useBuiltIns, 'corejs', modules, @babel/plugin-proposal-object-rest-spread.
I mean, I generally dump it into Chat GPT and ask for an explainer, but... how can I know for sure I can use `array.reverse()` and it will be correctly handled in older browsers?
And how does the babel version in yarn.lock relate to all this?
What about the .browserslistrc which contains 'defaults' ?
My god.
- n2d4 3y agohttps://compat-table.github.io/compat-table/es2016plus/ https://compat-table.github.io/compat-table/es2016plus/ Enable the "show obsolete platforms" checkmark to see the data for older versions of Babel/core-js. But probably you should just upgrade that instead.