Closed ivan-aksamentov closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/covid19-scenarios/covid19-scenarios/28zqunfdh ✅ Preview: https://covid19-scenarios-git-fix-babel-disable-loose-transformations.covid19-scenarios.now.sh
Code Climate has analyzed commit 9d1f458d and detected 0 issues on this pull request.
View more on Code Climate.
Related issues and PRs
Related to the issue resolved in https://github.com/neherlab/covid19_scenarios/pull/729.
729 solves the problem for this particular piece of code, while this PR aims to resolve the root cause globally.
Description
This disables loose transformations in babel, to avoid inconsistencies between different environments.
In particular, this code is transpiled differently in dev and prod when
loose
is enabled:Additionally, this disables "shipped proposals", just in case, as it is a risky option too.
See also:
Impacted Areas in the application
Build, transpilation.
Testing