umami/rollup.tracker.config.js

12 lines
292 B
JavaScript
Raw Normal View History

2020-07-18 04:15:29 +02:00
import buble from '@rollup/plugin-buble';
import { terser } from 'rollup-plugin-terser';
2020-07-17 10:03:38 +02:00
export default {
input: 'tracker/index.js',
2020-07-17 10:03:38 +02:00
output: {
file: 'public/umami.js',
2020-07-17 10:03:38 +02:00
format: 'iife',
},
2022-03-02 21:10:47 +01:00
plugins: [buble({ objectAssign: true }), terser({ compress: { evaluate: false } })],
2020-07-17 10:03:38 +02:00
};