当前位置:网站首页>Rollup各组件作用
Rollup各组件作用
2022-07-04 04:14:00 【anywo01】
Rollup
1. @rollup/plugin-node-resolve
原必须:import go from ./go/index.js
用后支持:import go from ./go
将node_modules中的内容打包到结果中
2. rollup-plugin-terser
压缩js代码
3. @rollup/plugin-replace
字符串替换
4. rollup-plugin-node-externals
排除外部引用的组件
5. rollup-plugin-visualizer
rollup的包分析工具
6. @rollup/plugin-commonjs
将commonjs转成es引用
7. rollup-plugin-serve
类似vue-cli-serve
8. rollup-plugin-vue
打包vue文件
6.0以上支持的是vue3.0
9. @rollup/plugin-html
生成html模板
10. rollup-plugin-livereload
启动热更新
11. rollup-plugin-postcss
打包css用
12. @rollup/plugin-json
支持json文件引入
边栏推荐
- Formatted text of Kivy tutorial (tutorial includes source code)
- PostgreSQL 正式超越 MySQL,这家伙也太强了吧!
- GUI application: socket network chat room
- Annex 2-2 confidentiality commitment docx
- Kivy教程之 更改背景颜色(教程含源码)
- The five pictures tell you: why is there such a big gap between people in the workplace?
- PaddleHub人脸识别方案部署,将训练好的模型在pytchrom中进行部署应用
- 【MATLAB】通信信号调制通用函数 — 带通滤波器
- 【MATLAB】MATLAB 仿真模拟调制系统 — AM 已调信号的功率谱与相干解调
- 软件设计文档示例模板 - 学习/实践
猜你喜欢

Maui introductory tutorial series (5.xaml and page introduction)

软件设计文档示例模板 - 学习/实践

Fault analysis | mongodb 5.0 reports an error, and the legal instruction solves it

Change the background color of Kivy tutorial (tutorial includes source code)

关于solidworks standard无法获得许可 8544问题的总结

What is context?

定制一个自己项目里需要的分页器

2022广东省赛——编码信息获取 解析flag

Unity中RampTex介绍和应用: 溶解特效优化

Sample template of software design document - learning / practice
随机推荐
附件2-2保密承诺书.docx
【MATLAB】MATLAB 仿真数字基带传输系统 — 双极性基带信号(第 I 类部分响应波形)的眼图
MySQL indexes and transactions
软件设计文档示例模板 - 学习/实践
6-5 vulnerability exploitation SSH weak password cracking and utilization
Can closed data be deleted by DBCA? can
RPC - gRPC简单的demo - 学习/实践
ADB tools
The second case analysis of the breakthrough of defense system from the perspective of the red team
中科磐云—数据分析与取证数据包flag
Asahi Kasei participated in the 5th China International Import Expo (5th ciie) for the first time
Formatted text of Kivy tutorial (tutorial includes source code)
Utiliser des unités de mesure dans votre code pour une vie meilleure
【MATLAB】通信信号调制通用函数 — 傅里叶逆变换
【MATLAB】MATLAB 仿真 — 窄带高斯白噪声
测试 CS4344 立体声DA转换器
Test cs4344 stereo DA converter
[Yugong series] go teaching course 001 in July 2022 - Introduction to go language premise
Zhengzhou zhengqingyuan Culture Communication Co., Ltd.: seven marketing skills for small enterprises
appliedzkp zkevm(11)中的EVM Proof