umami/rollup.tracker.config.js
2022-03-02 12:10:47 -08:00

12 lines
292 B
JavaScript

import buble from '@rollup/plugin-buble';
import { terser } from 'rollup-plugin-terser';
export default {
input: 'tracker/index.js',
output: {
file: 'public/umami.js',
format: 'iife',
},
plugins: [buble({ objectAssign: true }), terser({ compress: { evaluate: false } })],
};