Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JS to be Uglifier compatible #1332

Merged
merged 1 commit into from
Sep 22, 2020
Merged

Conversation

kitallis
Copy link
Contributor

Story card: N/A

Because

Our deploys are breaking because Uglifier is not feature-complete and breaks for random things around certain ES6+ syntax.

This addresses

In our case, the array destructuring syntax was breaking Uglifier (with harmony). Apparently a known issue.

@kitallis kitallis changed the title Uglifier (harmony) breaks for direct usages of JS array destructuring Fix JS to be Uglifier compatible Sep 22, 2020
@harimohanraj89 harimohanraj89 temporarily deployed to simple-review-pr-1332 September 22, 2020 08:05 Inactive
Copy link
Contributor

@danySam danySam left a comment

Choose a reason for hiding this comment

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

Looks good ;)

@kitallis kitallis merged commit d907e8a into master Sep 22, 2020
@kitallis kitallis deleted the remove-js-array-destructuring branch September 22, 2020 08:08
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.

3 participants