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.

25 lines
361 B

8 years ago
import buble from 'rollup-plugin-buble';
import camelCase from 'camelcase';
const pkg = require('./package.json');
export default {
input: 'src/index.js',
8 years ago
plugins: [
buble()
],
output: [
8 years ago
{
file: pkg.main,
8 years ago
format: 'umd',
name: camelCase(pkg.name),
sourcemap: true
8 years ago
},
{
file: pkg.module,
8 years ago
format: 'es',
sourcemap: true
8 years ago
}
]
};