12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
import resolve from '@rollup/plugin-node-resolve'
|
|
import { terser } from 'rollup-plugin-terser'
|
|
|
|
export default {
|
|
input: 'src/js/index.js',
|
|
output: {
|
|
file: 'dist/js/bundle.js',
|
|
format: 'esm'
|
|
},
|
|
plugins: [resolve(), terser()]
|
|
}
|