1 Star 1 Fork 0

MINT / MintUI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rollup.config.js 825 Bytes
一键复制 编辑 原始数据 按行查看 历史
MINT 提交于 2022-07-25 10:29 . 更新package.json
import esbuild from 'rollup-plugin-esbuild'
import vue from 'rollup-plugin-vue'
import scss from 'rollup-plugin-scss'
import dartSass from 'sass';
import {terser} from "rollup-plugin-terser"
export default {
input: 'src/lib/index.ts',
output: [{
globals: {
vue: 'Vue'
},
name: 'Mint',
file: 'dist/lib/mint.js',
format: 'umd',
plugins: [terser()]
}, {
name: 'Mint',
file: 'dist/lib/mint.esm.js',
format: 'es',
plugins: [terser()]
}],
plugins: [
scss({include: /\.scss$/, sass: dartSass}),
vue({
include: /\.vue$/,
}),
esbuild({
include: /\.[jt]s$/,
minify: process.env.NODE_ENV === 'production',
target: 'es2015'
})
],
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/boheweb/mint-ui.git
git@gitee.com:boheweb/mint-ui.git
boheweb
mint-ui
MintUI
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891