You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is good practice in Babel 7.x to use a project-wide babel.config.json instead of .babel.rc, which
is a relic of Babel 6.x (we are on 7.x).
- implemented babel.config.json based on FormSG's current configuration
fix#1264
It is good practice in Babel 7.x to use a project-wide babel.config.json
instead of .babelrc, which is a relic of Babel 6.x (we are on 7.x).
- implement babel.config.json based on FormSG's current configuration
- add corejs and regenerator-runtime dependencies for babel preset-env
fix#1264
It is good practice in Babel 7.x to use a project-wide
babel.config.json
instead of.babel.rc
, which is a relic of Babel 6.x (we are on 7.x).The configuration file should also explicitly specify the supported application browsers to ensure longer-term compatibility of JS build.
See https://babeljs.io/docs/en/config-files#6x-vs-7x-babelrc-loading, as well as the FormSG codebase for an example.
The text was updated successfully, but these errors were encountered: