Rollup Plugin CommonJS 项目推荐

Rollup Plugin CommonJS 项目推荐

rollup-plugin-commonjs This module has moved and is now available at @rollup/plugin-commonjs / https://github.com/rollup/plugins/blob/master/packages/commonjs rollup-plugin-commonjs 项目地址: https://gitcode.com/gh_mirrors/ro/rollup-plugin-commonjs

1. 项目基础介绍和主要编程语言

Rollup Plugin CommonJS 是一个用于 Rollup 的插件,旨在将 CommonJS 模块转换为 ES6 模块,以便它们可以被包含在 Rollup 构建的包中。该项目的主要编程语言是 JavaScript。

2. 项目的核心功能

该插件的核心功能包括:

  • CommonJS 模块转换:将 CommonJS 模块转换为 ES6 模块,使其能够被 Rollup 打包。
  • 模块解析:支持解析 node_modules 中的 CommonJS 依赖。
  • 自定义命名导出:允许用户指定自定义的命名导出,以解决某些模块无法自动识别命名导出的问题。
  • 源映射支持:生成源映射以帮助调试。
  • 忽略全局变量:允许忽略某些全局变量的处理。

3. 项目最近更新的功能

由于该项目的 GitHub 仓库已被归档,并且最后一次更新是在 2021 年 8 月 4 日,因此没有最近的更新功能。项目已迁移到 @rollup/plugin-commonjs,建议用户更新依赖以获取最新的功能和修复。

迁移后的新项目地址为:https://github.com/rollup/plugins/tree/master/packages/commonjs

rollup-plugin-commonjs This module has moved and is now available at @rollup/plugin-commonjs / https://github.com/rollup/plugins/blob/master/packages/commonjs rollup-plugin-commonjs 项目地址: https://gitcode.com/gh_mirrors/ro/rollup-plugin-commonjs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

房颉昭Tammy

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值