text: 'use strict'
  
  import pkg from './package.json';
  import babel from '@rollup/plugin-babel';
  import commonjs from '@rollup/plugin-commonjs';
  import resolve from '@rollup/plugin-node-resolve';
  import { terser } from 'rollup-plugin-terser';
  
  const extensions = ['.js', '.jsx', '.ts', '.tsx'];
  
  export default {
  	input: './src/index.ts',
  	external: [],
  	plugins: [
  		resolve({ extensions }),
  		commonjs(),
  		babel({ extensions, include: ['src/**/*'], babelHelpers: 'runtime' }),
  		terser(),
  	],
  	output: [{
  		file: pkg.module,
  		format: 'esm',
  	}, {
  		file: `test/${pkg.module}`,
  		format: 'esm'
  	}],
  };
  