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
365 B

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