当前位置:网站首页>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文件引入
边栏推荐
- appliedzkp zkevm(11)中的EVM Proof
- 中科磐云—数据分析与取证数据包flag
- 【MATLAB】通信信号调制通用函数 — 傅里叶变换
- Annex II: confidentiality agreement for offensive and defensive drills docx
- LeetCode136+128+152+148
- STM32F1与STM32CubeIDE编程实例-74HC595驱动4位7段数码管
- RPC - grpc simple demo - learn / practice
- 技术管理 - 学习/实践
- Flutter ‘/usr/lib/libswiftCore.dylib‘ (no such file)
- 电子元器件商城与数据手册下载网站汇总
猜你喜欢

Zhengzhou zhengqingyuan Culture Communication Co., Ltd.: seven marketing skills for small enterprises

Kivy教程之 格式化文本 (教程含源码)

2022年6月总结

海力士EMMC5.0及5.1系列对比详解

中科磐云—D模块解析以及评分标准

RPC Technology

MySQL indexes and transactions
![[Yugong series] go teaching course 001 in July 2022 - Introduction to go language premise](/img/f2/3b95f53d67cd1d1979163910dbeeb8.png)
[Yugong series] go teaching course 001 in July 2022 - Introduction to go language premise

Download kicad on Alibaba cloud image station

附件五:攻击过程简报.docx
随机推荐
Introduction and application of rampax in unity: optimization of dissolution effect
The five pictures tell you: why is there such a big gap between people in the workplace?
每日刷题记录 (十二)
Maui introductory tutorial series (5.xaml and page introduction)
Unity中RampTex介绍和应用: 溶解特效优化
C basic (VII) document operation
由于使用flash存放参数时,擦除掉了flash的代码区导致进入硬件错误中断
Dp83848+ network cable hot plug
6-5漏洞利用-SSH弱口令破解利用
Download kicad on Alibaba cloud image station
中科磐云—2022广东木马信息获取解析
Correct the classpath of your application so that it contains a single, compatible version of com.go
1. Mx6u-alpha development board (simulating STM32 drive development experiment)
如何构建属于自己的知识引擎?社群开放申请
YoloV6实战:手把手教你使用Yolov6进行物体检测(附数据集)
Acwing game 58
中科磐云—2022广西逆向解析思路
【MATLAB】通信信号调制通用函数 — 窄带高斯白噪声的生成
Flutter 调用高德地图APP实现位置搜索、路线规划、逆地理编码
1. Mx6u-alpha development board (LED drive experiment in C language version)