1
0
mirror of https://github.com/garraflavatra/alphabets.git synced 2024-11-25 12:29:26 +01:00
alphabets/rollup.config.js
2021-05-24 12:32:23 +02:00

16 lines
286 B
JavaScript

import clear from 'rollup-plugin-clear';
import { terser } from "rollup-plugin-terser";
export default {
input: 'src/main.js',
output: {
file: 'dist/bundle.js',
format: 'umd',
name: 'alphabets',
},
plugins: [
terser(),
clear({ targets: ['dist'] }),
],
};