Skip to content

Compile bundles for production in ES5 safety test#4494

Merged
aduth merged 1 commit intomasterfrom
aduth-es5-safe-production
Dec 7, 2020
Merged

Compile bundles for production in ES5 safety test#4494
aduth merged 1 commit intomasterfrom
aduth-es5-safe-production

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Dec 7, 2020

Previously: #4296

Why: Since development bundles are currently configured to use eval-source-map in development mode, ES5-incompatible syntax can hide in eval strings. Also ensures tested code is closer aligned to that which is run by real users.

**Why**: Since development bundles are currently configured to use `eval-source-map` in development mode, ES5-incompatible syntax can hide in eval strings. Also ensures tested code is closer aligned to that which is run by real users.
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit b4d7bd1 into master Dec 7, 2020
@aduth aduth deleted the aduth-es5-safe-production branch December 7, 2020 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants