当前位置:网站首页>比较临时的修改node_modules内包的源码并编译引用 修改依赖包
比较临时的修改node_modules内包的源码并编译引用 修改依赖包
2022-07-23 05:45:00 【Sindweller5530】
开发时的一个测试用需求,所以只是在本地修改了node_modules里某个包的源码。只限本地
- git clone 包到node_modules里
- 修改源码
- 重新编译包
npm install -s+npm run build - 在整个项目的目录下package.json手动向dependencies加入该包和版本
- 项目根目录,
npm install -s+npm run serve查看效果
这个方法不是很好,package.json的添加本来非常严谨。如果是实际应用需求还请查阅别的文章。
边栏推荐
- 预处理指令#define,你真的懂了吗?
- C language small project - student achievement management system
- 冒泡排序,快速排序
- 5.4 installation and use of pyinstaller Library
- Question bank of basic principles of steel structure
- 高分子物理名词解释
- Embedded from entry to mastery (buried) - sharing of ultra detailed knowledge points 3
- 输入三角形边长,求面积
- AWK 程序设计语言
- K-nucleotide frequencies (KNF) or k-mer frequencies
猜你喜欢

NLP natural language processing - Introduction to machine learning and natural language processing (2)

输入三角形边长,求面积

socket基础知识以及各种使用场景

Interpretation of the paper: DNA enhancer sequence recognition transformer structure based on Bert and two-dimensional convolutional neural network

钢结构基本原理题库

Redis——基础概念

C language small project - student achievement management system

【AUTOSAR COM 2.通信协议栈进阶介绍】
![[AUTOSAR CP general 1. how to read AUTOSAR official documents]](/img/3a/8521278a4bd21bb269603a52f07b0e.png)
[AUTOSAR CP general 1. how to read AUTOSAR official documents]

LVS负载均衡调度原理及配置方法
随机推荐
Doubts about using the incluxdb database
golang for range遍历并赋值给字典后出现所有值相同的问题
Interpretation of the paper: "deep-4mcw2v: sequence based predictor for identifying N4 methylcytosine (4mc) sites in E. coli"
C语言数据库:基于tcp多进程的在线词典,有详细的步骤已经图解,欢迎大家来观看
常见的排序—交换排序
【AUTOSAR COM 2.通信协议栈进阶介绍】
Prometheus
广播,组播,单播
高电压技术学习总结
[AUTOSAR com 3. signal sending and receiving process tx/rx]
[AUTOSAR cantp 1. learn the network layer protocol of UDS diagnosis]
Redis——配置及应用
博客搭建一:框架选择
Talent column | can't use Apache dolphin scheduler? The most complete introductory tutorial written by the boss in a month
二叉树的实现-c
主机字节序的判定
【Autosar CP通用 1.如何阅读Autosar官方文档】
Interpretation of the paper: develop a prediction model based on multi-layer deep learning to identify DNA N4 methylcytosine modification
Steel structure review questions
钢结构基本原理题库