import pkg from './package.json';
import commonjs from 'rollup-plugin-commonjs';

export default [
  {
    format: 'umd',
    moduleName: 'Dislocator',
    plugins: [commonjs()],
    entry: 'lib/dislocator.js',
    dest: pkg.browser
  }
];

import pkg from './package.json';
import commonjs from 'rollup-plugin-commonjs';

export default [
  {
    format: 'umd',
    moduleName: 'Dislocator',
    plugins: [commonjs()],
    entry: 'lib/dislocator.js',
    sourceMap: true,
    dest: pkg.browser
  }
];

add sourcemaps to the umd build