Skip to content

Conversation

janicduplessis
Copy link
Contributor

See discussion here #5796 (comment)

Test plan (required)
Change the babel-preset-react-native dependency to "babel-preset-react-native": "file:./babel-preset", so it uses the local babel-preset instead of the one from npm.

./packager/packager.sh --reset-cache

open http://localhost:8081/Examples/UIExplorer/UIExplorerApp.android.bundle?platform=android&dev=true&hot=false&minify=false and there should not be any added 'strict mode'.

@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @janicduplessis, @martinbigio and @skevy to be potential reviewers.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Mar 27, 2016
@bestander
Copy link
Contributor

@facebook-github-bot import

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to Phabricator to review.

@bestander
Copy link
Contributor

I'll import it manually on Tuesday morning, need to generate shrinkwrap

@mkonicek
Copy link
Contributor

mkonicek commented Apr 1, 2016

@janicduplessis Should this be cherry-picked to 0.23? What bug does this fix?

Here are the other bugfixes we're cherry-picking: #6559

@bestander
Copy link
Contributor

Martin, not really needed to be reverted, AFAIK.
This is a code change for babel-preset-react-native package, current
version of this package 1.5.4+ has this change reverted.
And in package.json it is defined as "babel-preset-react-native": "^1.5.2",
so it will be reverted automatically.
Janic, correct me if I am wrong.

On Fri, Apr 1, 2016 at 4:49 PM, Martin Konicek notifications@github.com
wrote:

@janicduplessis https://github.com/janicduplessis Should this be
cherry-picked to 0.23? What bug does this fix?

Here are the other bugfixes we're cherry-picking: #6559
#6559


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#6686 (comment)

@janicduplessis
Copy link
Contributor Author

It was causing some issues with external libraries, I think we just need to publish the babel-preset-react-native@1.5.4 on npm, no need to cherry pick.

@mkonicek
Copy link
Contributor

mkonicek commented Apr 4, 2016

Thanks guys!

@bestander
Copy link
Contributor

On npm babel-preset-react-native@1.5.6 is latest, so, it is all clear

zebulgar pushed a commit to nightingale/react-native that referenced this pull request Jun 18, 2016
Summary:See discussion here facebook#5796 (comment)

**Test plan (required)**
Change the babel-preset-react-native dependency to `"babel-preset-react-native": "file:./babel-preset",` so it uses the local babel-preset instead of the one from npm.
```
./packager/packager.sh --reset-cache
```
open `http://localhost:8081/Examples/UIExplorer/UIExplorerApp.android.bundle?platform=android&dev=true&hot=false&minify=false` and there should not be any added 'strict mode'.
Closes facebook#6686

Reviewed By: mkonicek

Differential Revision: D3103122

Pulled By: bestander

fb-gh-sync-id: 85658ee01bb73f13dacb2b6a48ab121324c13118
fbshipit-source-id: 85658ee01bb73f13dacb2b6a48ab121324c13118
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants