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