You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
368 B

import buble from 'rollup-plugin-buble';
import camelCase from 'camelcase';
const pkg = require('./package.json');
export default {
entry: 'src/index.js',
plugins: [
buble()
],
targets: [
{
dest: pkg.main,
format: 'umd',
moduleName: camelCase(pkg.name),
sourceMap: true
},
{
dest: pkg.module,
format: 'es',
sourceMap: true
}
]
};