首页
移动开发
物联网
服务端
编程语言
企业开发
数据库
业界资讯
其他
搜索
用create-react-app创建的react项目怎么解决打包体积过大
其他
2018-07-27 14:57:40
阅读次数: 0
由于在打包之后会生成一些体积很大的map.js文件造成了build文件过大。可能轻易的达到10M。
解决办法是
如图所以devtool这项修改值为false即可
猜你喜欢
转载自
www.cnblogs.com/dragonh/p/9377474.html
用create-react-app创建的react项目怎么解决打包体积过大
create-react-app 创建react项目
create-react-app创建的项目打包后的文件很大
用create-react-app创建项目后怎么把默认的3000端口改掉?
create-react-app 创建项目失败
create-react-app创建项目
react使用create-react-app创建的项目部署
react使用create-react-app创建的项目配置
初学react(1)——create-react-app创建项目
create-react-app如何创建react项目?
使用create-react-app创建react项目
用create-react-app搭建react项目
create-react-app搭建react项目
create-react-app 创建的项目添加less支持
在create-react-app创建的项目中使用decorator
使用create-react-app创建项目结构
使用create-react-app创建项目(一)——端口配置
create-react-app创建项目时报错
【问题解决】create-react-app创建失败
create-react-app 打包后静态文件过大 webpack优化
create-react-app创建项目后,运行npm run eject报错解决方法
使用从create-react-app创建项目后,运行npm run eject报错解决方法
create-react-app
React - create-react-app
create-react-app项目中的eslint
create-react-app项目配置
create-react-app 搭建项目流程
create-react-app 项目安装less
create-react-app慢的解决
React中使用create-react-app命令创建一个项目,运行npm run eject报错解决
今日推荐
周排行
1063. Set Similarity (25)
android 弹出对话框以后 屏幕不变暗
炸锅了!Google称2029年人类开始实现永生不死!疾病,衰老,痛苦将彻底消失!?
面向对象分析
批量分发公钥脚本
在worker中使用offscreenCanvas
spring源码解析bean定义五ContextNamespaceHandler一
C++回顾——函数重载与默认参数
基于common-fileupload实现文件上传
C++学习(十七)—模板(一)
每日归档
更多
2024-07-18(0)
2024-07-17(0)
2024-07-16(0)
2024-07-15(0)
2024-07-14(0)
2024-07-13(0)
2024-07-12(0)
2024-07-11(0)
2024-07-10(0)
2024-07-09(0)