mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
Minor tweaks.
This commit is contained in:
parent
132bbcbe0d
commit
0edf87941a
6 changed files with 24 additions and 22 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import 'dotenv/config';
|
||||
import buble from '@rollup/plugin-buble';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
||||
import { terser } from 'rollup-plugin-terser';
|
||||
|
||||
|
|
@ -10,12 +9,5 @@ export default {
|
|||
file: 'public/umami.js',
|
||||
format: 'iife',
|
||||
},
|
||||
plugins: [
|
||||
replace({
|
||||
'process.env.UMAMI_URL': JSON.stringify(process.env.UMAMI_URL),
|
||||
}),
|
||||
nodeResolve(),
|
||||
buble(),
|
||||
terser({ compress: { evaluate: false } }),
|
||||
],
|
||||
plugins: [nodeResolve(), buble(), terser({ compress: { evaluate: false } })],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue