DemuMesDataV/build/rollup.config.js

22 lines
439 B
JavaScript
Raw Normal View History

2019-09-03 11:07:45 +08:00
import resolve from 'rollup-plugin-node-resolve'
import vue from 'rollup-plugin-vue'
import commonjs from 'rollup-plugin-commonjs'
import babel from 'rollup-plugin-babel'
export default {
input: 'build/entry.js',
output: {
format: 'umd',
2019-09-10 15:11:09 +08:00
file: 'dist/datav.map.vue.js',
2019-09-03 11:07:45 +08:00
name: 'datav'
},
plugins: [
resolve(),
babel({
exclude: 'node_modules/**'
}),
commonjs(),
vue(),
],
external: ['Vue']
}