metro-code-split
metro-code-split copied to clipboard
Further split the React Native code based on Metro build to improve performance, providing `Dll` and `Dynamic Imports` features
RT
First of all thanks for the great lib. I was wondering if there is a way to name chunks the same way webpack do?
> yarn android ``` > Task :app:processDebugResources > Task :react-native-community_masked-view:generateDebugBuildConfig UP-TO-DATE > Task :react-native-community_masked-view:javaPreCompileDebug UP-TO-DATE > Task :react-native-community_masked-view:compileDebugJavaWithJavac > Task :react-native-gesture-handler:generateDebugBuildConfig UP-TO-DATE > Task :react-native-gesture-handler:javaPreCompileDebug UP-TO-DATE > Task :react-native-community_masked-view:bundleLibCompileToJarDebug >...
按照`metro.config.js`的配置: ```js module.exports = process.env.NODE_ENV === 'production' ? mcs.mergeTo(busineConfig) : busineConfig ``` 当development模式的时候,`metro-code-split`的配置不应该生效的,但是实际上在运行Example的时候发现,即便是在development的情况下,还是会去走加载bundle的路子。 请问这算是bug吗?
_dll.android.bundle 也是空文件 warning: failed to load the preRefPath correctly! are you setting the "dll.referenceDir" correctly? warning: failed to load the dllRefPath correctly! are you setting the "dll.referenceDir" correctly? info Writing...
请问我使用的是expo脚手架创建的项目,怎么配置这个分包插件
你们这个拆包,满足多 bundle 去中心化架构模式吗
运行 Example 执行 build:dll 生成的_dll.android.bundle 和 _dll.ios.bundle,这两个文件是空的。