1 Star 0 Fork 0

bitores/react-antd-super-upload

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rollup.config.js 854 Bytes
一键复制 编辑 原始数据 按行查看 历史
bitores 提交于 2019-09-28 12:18 . init
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import external from 'rollup-plugin-peer-deps-external'
import postcss from 'rollup-plugin-postcss'
import resolve from 'rollup-plugin-node-resolve'
import less from 'rollup-plugin-less';
import url from 'rollup-plugin-url'
import svgr from '@svgr/rollup'
import pkg from './package.json'
export default {
input: 'src/index.js',
output: [
{
file: `./${pkg.main}`,
format: 'cjs',
sourcemap: true
},
{
file: `./${pkg.module}`,
format: 'es',
sourcemap: true
}
],
plugins: [
external(),
postcss({
modules: true
}),
url(),
svgr(),
babel({
exclude: 'node_modules/**',
plugins: ['external-helpers']
}),
resolve({
jail: './src'
}),
commonjs()
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/bitorjs/react-antd-super-upload.git
git@gitee.com:bitorjs/react-antd-super-upload.git
bitorjs
react-antd-super-upload
react-antd-super-upload
master

搜索帮助