Sta*_*rov 0 react-native create-react-native-app
如何分析 react-native 包的大小?应用程序是使用 create-react-native-app 创建的。
您可以将此库react-native-bundle-visualizer 添加到您的项目中:
yarn add --dev react-native-bundle-visualizer
Run Code Online (Sandbox Code Playgroud)
然后
yarn run react-native-bundle-visualizer
Run Code Online (Sandbox Code Playgroud)
应该显示 react-native 包的可视化。
| 归档时间: |
|
| 查看次数: |
653 次 |
| 最近记录: |