这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Conversation

@jamonholmgren
Copy link
Member

Removes 400kb from production bundle. 😳

Copy link
Contributor

@harrisrobin harrisrobin left a comment

Choose a reason for hiding this comment

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

Looks great 🎉 😄

Out of curiosity, how did you know that it removed 400kb?

@jamonholmgren
Copy link
Member Author

@harrisrobin I ran this before and after the change:

npx react-native-bundle-visualizer --entry-file index.js --dev false --reset-cache true

... and it showed me this:

Screen Shot 2019-10-31 at 3 09 20 PM

Screen Shot 2019-10-31 at 3 09 27 PM

@jamonholmgren jamonholmgren merged commit 539793b into master Nov 1, 2019
@jamonholmgren jamonholmgren deleted the perf/storybook-reactotron branch November 1, 2019 16:25
infinitered-circleci pushed a commit that referenced this pull request Nov 3, 2019
# [4.10.0](v4.9.0...v4.10.0) (2019-11-03)

### Bug Fixes

* **nav:** Disable react-native-screens for now ([#286](#286) by [@jamonholmgren](https://github.com/jamonholmgren)) ([1c5785e](1c5785e))
* **perf:** Remove Storybook & Reactotron from production bundle ([#287](#287) by [@jamonholmgren](https://github.com/jamonholmgren)) ([539793b](539793b))

### Features

* **boilerplate:** Use barrel exports for screens and components ([#282](#282) by [@robinheinze](https://github.com/robinheinze)) ([93f58f8](93f58f8))
* **tests:** Add test for missing i18n keys ([#278](#278) by [@robinheinze](https://github.com/robinheinze)) ([d0cae54](d0cae54))
@infinitered-circleci
Copy link
Collaborator

🎉 This PR is included in version 4.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants