简体   繁体   English

如何创建create-react-app供应商捆绑包

[英]How to create create-react-app vendor bundle

Using create-react-app , how do you go about creating a separate vendor bundle? 使用create-react-app ,如何创建一个单独的供应商捆绑包?

Code splitting is done pretty easily using the react-code-splitting package, but I've not found anything concrete about creating vendor bundles in a create-react-app project. 使用react-code-splitting包可以很容易地完成react-code-splitting ,但是我还没有发现有关在create-react-app项目中创建供应商捆绑包的具体方法。

It might land in react-scripts@2.0 .Here is a link where you can find more info. 它可能位于react-scripts@2.0中。您可以在此处找到更多信息的链接 At the moment you have to eject to use the code-splitting 目前,您必须退出才能使用代码拆分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM