mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-13 04:57:34 +01:00
14 lines
378 B
JavaScript
14 lines
378 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({ objectAssign: true }), terser({ compress: { evaluate: false } })],
|
|
};
|