Ai
3 Star 2 Fork 0

mirrors_metowolf/MetingJS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rollup.config.js 547 Bytes
一键复制 编辑 原始数据 按行查看 历史
萨摩公园 提交于 2025-09-23 14:48 +08:00 . feat: migrate from Travis CI to GitHub Actions
import terser from '@rollup/plugin-terser'
import replace from '@rollup/plugin-replace'
import { readFileSync } from 'fs'
const pkg = JSON.parse(readFileSync('./package.json', 'utf-8'))
export default {
input: 'src/Meting.js',
output: {
file: 'dist/Meting.min.js',
format: 'iife',
name: 'MetingJS'
},
plugins: [
replace({
delimiters: ['', ''],
values: {
'__VERSION__': pkg.version
},
preventAssignment: true
}),
terser({
format: {
comments: false
}
})
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_metowolf/MetingJS.git
git@gitee.com:mirrors_metowolf/MetingJS.git
mirrors_metowolf
MetingJS
MetingJS
master

搜索帮助