umami/scripts/postbuild.js

11 lines
190 B
JavaScript
Raw Normal View History

2022-03-19 05:57:58 +01:00
require('dotenv').config();
const { sendTelemetry } = require('./telemetry');
async function run() {
if (!process.env.DISABLE_TELEMETRY) {
2022-03-19 06:39:39 +01:00
await sendTelemetry('build');
2022-03-19 05:57:58 +01:00
}
}
run();