text: import resolve from '@rollup/plugin-node-resolve';
  import commonjs from '@rollup/plugin-commonjs';
  import pkg from './package.json';
  
  export default [
  	// browser-friendly UMD build
  	{
  		input: 'src/main.js',
  		output: [
  			{ name: pkg.browser__name, file: pkg.browser, format: 'umd' },
  			{ file: pkg.main, format: 'cjs' },
  			{ file: pkg.module, format: 'es' }
  		],
  		plugins: [
  			resolve(), // so Rollup can find `ms`
  			commonjs() // so Rollup can convert `ms` to an ES module
  		]
  	},
  ];
  