1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-21 08:43:37 +01:00
umami/rollup.tracker.config.js
2020-07-24 17:00:56 -07:00

14 lines
356 B
JavaScript

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