Added postbuild script.

This commit is contained in:
Mike Cao 2022-03-16 22:05:43 -07:00
parent 0d33e6d08f
commit a249f0c6dc
3 changed files with 13 additions and 6 deletions

10
scripts/postbuild.js Normal file
View file

@ -0,0 +1,10 @@
require('dotenv').config();
const sendTelemetry = require('./telemetry');
async function run() {
if (!process.env.TELEMETRY_DISABLE) {
await sendTelemetry();
}
}
run();