import esbuild from 'rollup-plugin-esbuild';

export default {
  input: 'src/index.ts',
  output: {
    file: 'dist/index.umd.js',
    format: 'umd',
    name: 'DefaultViewLayout',
  },
  plugins: [
    esbuild({
      tsconfig: 'tsconfig.json',
      minify: true,
      target: 'es2018',
    }),
  ],
};