当前位置:网站首页>比较临时的修改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的添加本来非常严谨。如果是实际应用需求还请查阅别的文章。
边栏推荐
- [AUTOSAR candrive 1. learn the function and structure of candrive]
- 高电压技术学习总结
- DICOM open source tool library
- 预处理指令#define,你真的懂了吗?
- Switch implements expression evaluation
- [AUTOSAR com 2. Advanced introduction to communication protocol stack]
- [AUTOSAR CP general 1. how to read AUTOSAR official documents]
- Dicom开源工具库
- NLP natural language processing - Introduction to machine learning and natural language processing (I)
- [introduction to AUTOSAR com 4.com service layer module]
猜你喜欢

Data mining scenario - false invoice

Summary of video coding and decoding related data

基于对象(Object Based)-两个经典类

Interpretation of the paper: recognition of enhancer promoter interactions with neural networks based on pre trained DNA vectors and attention mechanisms

Enter the triangle side length and calculate the area
博客搭建三:评论系统选择

Knowledge structure of advanced algebra

Steel structure review questions

钢结构基本原理试题及答案
![[AUTOSAR CP general 1. how to read AUTOSAR official documents]](/img/3a/8521278a4bd21bb269603a52f07b0e.png)
[AUTOSAR CP general 1. how to read AUTOSAR official documents]
随机推荐
C语言:详细讲解基于tcp和udp的两种本地通信方式
TeX or LaTeX or MikTeX or TeX Live or CTeX
NLP natural language processing - Introduction to machine learning and natural language processing (2)
Dicom开源工具库
Knowledge structure of advanced algebra
5.4 Pyinstaller库安装与使用
主机字节序的判定
高电压技术重点知识整理
基于对象(Object Based)-两个经典类
高电压技术学习总结
Redis——基础概念
Object class
C语言数据库:基于tcp多进程的在线词典,有详细的步骤已经图解,欢迎大家来观看
[AUTOSAR CP general 1. how to read AUTOSAR official documents]
鋼結構基本原理複習
[CAN总线的物理层 ]1.CAN/CANFD采样的点的内容分享
Summary of video coding and decoding related data
Interpretation of the paper: "i4mc deep: intelligent prediction of N4 methylcytosine sites using deep learning methods with chemical properties"
高分子物理考研概念及要点、考点总结
vscode配置