2020-08-18 17:40:00 +03:00
|
|
|
import babel from '@rollup/plugin-babel';
|
2019-03-01 13:46:30 +03:00
|
|
|
|
|
|
|
let pluginOptions = [
|
|
|
|
babel({
|
|
|
|
exclude: 'node_modules/**',
|
|
|
|
}),
|
|
|
|
];
|
|
|
|
|
|
|
|
export default [{
|
|
|
|
input: 'index.js',
|
|
|
|
output: {
|
|
|
|
name: 'main',
|
|
|
|
file: 'dist/index.js',
|
|
|
|
format: 'umd',
|
|
|
|
},
|
|
|
|
plugins: pluginOptions,
|
2020-08-18 17:40:00 +03:00
|
|
|
}];
|