lilishop-ui/node_modules/_vue-json-excel@0.3.0@vue-j.../rollup.config.js

28 lines
593 B
JavaScript
Raw Normal View History

2021-06-03 11:47:34 +08:00
import vue from 'rollup-plugin-vue';
import commonjs from 'rollup-plugin-commonjs';
import resolve from 'rollup-plugin-node-resolve';
export default {
input: 'JsonExcel.vue',
output: [
{
format: 'cjs',
file: 'dist/vue-json-excel.cjs.js'
},
{
format: 'esm',
file: 'dist/vue-json-excel.esm.js'
},
{
name: 'JsonExcel',
format: 'umd',
file: 'dist/vue-json-excel.umd.js'
}
],
plugins: [
vue(),
commonjs(),
resolve()
]
}