mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Refactor do not track code.
This commit is contained in:
parent
fd0c22c09d
commit
0ba7676e97
3 changed files with 21 additions and 24 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import 'dotenv/config';
|
||||
import buble from '@rollup/plugin-buble';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import { terser } from 'rollup-plugin-terser';
|
||||
|
||||
|
|
@ -9,5 +10,10 @@ export default {
|
|||
file: 'public/umami.js',
|
||||
format: 'iife',
|
||||
},
|
||||
plugins: [resolve(), buble(), terser({ compress: { evaluate: false } })],
|
||||
plugins: [
|
||||
replace({ __DNT__: !!process.env.ENABLE_DNT }),
|
||||
resolve(),
|
||||
buble(),
|
||||
terser({ compress: { evaluate: false } }),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue