commit
4047a7ec23
378 changed files with 29334 additions and 0 deletions
13
rollup.tracker.config.js
Normal file
13
rollup.tracker.config.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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 } })],
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue