Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Fix the build. Add optional chaining transform. #2363

Closed
wants to merge 1 commit into from
Closed

Fix the build. Add optional chaining transform. #2363

wants to merge 1 commit into from

Conversation

mrkev
Copy link
Contributor

@mrkev mrkev commented Mar 24, 2020

Summary

#2330 broke the build (sigh). CI was broken for a while, so it wasn't immediately obvious too. Internally, we have supported optional chaining for a while, so importing to Phabricator didn't surface the error either.

We need a babel transform for optional chaining.

Test plan.

Build draft. Build succeeds. Open one of the examples. It works.

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@mrkev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@mrkev mrkev deleted the deps/fix-build-optional-chaining branch March 25, 2020 03:39
@facebook-github-bot
Copy link

@mrkev merged this pull request in 9c32317.

vilemj-Viclick pushed a commit to kontent-ai/draft-js that referenced this pull request Jul 16, 2020
Summary:
facebookarchive#2330 broke the build (_sigh_). CI was broken for a while, so it wasn't immediately obvious too. Internally, we have supported optional chaining for a while, so importing to Phabricator didn't surface the error either.

We need a babel transform for optional chaining.

## Test plan.

Build draft. Build succeeds. Open one of the examples. It works.
Pull Request resolved: facebookarchive#2363

Reviewed By: creedarky

Differential Revision: D20632298

Pulled By: mrkev

fbshipit-source-id: 7a591c376330ee31bac5546a765920833b6bac00
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary:
facebookarchive/draft-js#2330 broke the build (_sigh_). CI was broken for a while, so it wasn't immediately obvious too. Internally, we have supported optional chaining for a while, so importing to Phabricator didn't surface the error either.

We need a babel transform for optional chaining.

## Test plan.

Build draft. Build succeeds. Open one of the examples. It works.
Pull Request resolved: facebookarchive/draft-js#2363

Reviewed By: creedarky

Differential Revision: D20632298

Pulled By: mrkev

fbshipit-source-id: 7a591c376330ee31bac5546a765920833b6bac00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants