mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Build cli using rollup.
This commit is contained in:
parent
533ffbda13
commit
0f0b1e39e7
10 changed files with 175 additions and 23 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(), terser({ compress: { evaluate: false } })],
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue