随笔分类 -  webpack

摘要:yarn config set ignore-engines true 阅读全文
posted @ 2024-07-23 12:44 鼓舞飞扬 阅读(136) 评论(0) 推荐(0) 编辑
摘要:查询当前配置的镜像yarn config get registry // 默认: https://registry.yarnpkg.com设置成淘宝镜像yarn config set registry https://registry.npmmirror.com // 淘宝镜像新域名,旧域名2024 阅读全文
posted @ 2024-07-22 17:26 鼓舞飞扬 阅读(13) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xanadw/article/details/124620095 阅读全文
posted @ 2024-07-22 15:58 鼓舞飞扬 阅读(6) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_46769087/article/details/131409709 阅读全文
posted @ 2024-06-14 17:26 鼓舞飞扬 阅读(5) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_36648555/article/details/119910904 https://huaweicloud.csdn.net/638eec65dacf622b8df8dc3c.html 阅读全文
posted @ 2024-06-14 11:16 鼓舞飞扬 阅读(13) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/jayccx/article/details/128200440 先前在项目中使用了 @vue/cli-plugin-babel 插件,打包时发现项目被打包成了一个非常大的 js 文件,动态 import 代码拆分失败了。 阅读全文
posted @ 2024-06-14 11:15 鼓舞飞扬 阅读(45) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xuelang532777032/article/details/78173550 阅读全文
posted @ 2024-06-14 08:45 鼓舞飞扬 阅读(9) 评论(0) 推荐(0) 编辑
摘要:有时即使删除了node_modules和lock文件,某些依赖的缓存仍可能导致问题。考虑使用更彻底的清理方法,如npm cache clean --force(对于npm)或yarn cache clean(对于Yarn),然后再重新安装依赖。 阅读全文
posted @ 2024-06-07 18:20 鼓舞飞扬 阅读(18) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zhichaosong/article/details/119682473 阅读全文
posted @ 2024-03-25 15:33 鼓舞飞扬 阅读(4) 评论(0) 推荐(0) 编辑
摘要:yarn 是由 Facebook、Google、Exponent 和 Tilde 联合推出了一个新的 JS 包管理工具,yarn 是为了弥补 npm 的一些缺陷而出现的 同为包管理工具 npm和yarn的区别 1、并行安装:yarn安装包会同时执行多个任务,npm 需等待上一个任务安装完成才能运行下 阅读全文
posted @ 2024-02-07 11:08 鼓舞飞扬 阅读(6414) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_56650035/article/details/119355625 阅读全文
posted @ 2021-12-17 11:04 鼓舞飞扬 阅读(362) 评论(0) 推荐(0) 编辑
摘要:在基于 Element-ui 写项目的时候,Chrome 提醒: [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler 阅读全文
posted @ 2021-12-15 15:02 鼓舞飞扬 阅读(667) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/e40709390301 阅读全文
posted @ 2021-12-14 15:02 鼓舞飞扬 阅读(113) 评论(0) 推荐(0) 编辑
摘要:1 'use strict' 2 const path = require('path') 3 const defaultSettings = require('./src/settings.js') 4 5 function resolve(dir) { 6 return path.join(__ 阅读全文
posted @ 2021-09-23 09:24 鼓舞飞扬 阅读(277) 评论(0) 推荐(0) 编辑
摘要:https://www.bilibili.com/video/BV1Up4y1t7pV?p=70 webpack打包优化: 阅读全文
posted @ 2021-09-15 16:21 鼓舞飞扬 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-08-17 11:10 鼓舞飞扬 阅读(18) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/guoqing2016/article/details/108639300?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefa 阅读全文
posted @ 2021-07-11 09:32 鼓舞飞扬 阅读(530) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/bubbling_coding/article/details/81561362 阅读全文
posted @ 2021-06-18 08:54 鼓舞飞扬 阅读(30) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/liwan09/article/details/106981239 阅读全文
posted @ 2021-05-07 18:37 鼓舞飞扬 阅读(3064) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示