This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
site/rollup.config.js

12 lines
243 B
JavaScript
Raw Permalink Normal View History

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()]
}