Transpiling targets inconsistant between loaders in client.
Babel offers the possibility to set a target version for JS, but it looks like we don't set it in .babelrc
(except maybe with preset-env
).
We put core-js/stable and regenerator-runtime 'as is' in the main bundle, without any distinction.
tsc
transpiles to ES2018
(as for the server).
I think we should target a single version of JS and harmonize it between loaders/transpilers.
Edited by Antoine