Added postbuild script.
This commit is contained in:
10
scripts/postbuild.js
Normal file
10
scripts/postbuild.js
Normal file
@@ -0,0 +1,10 @@
|
||||
require('dotenv').config();
|
||||
const sendTelemetry = require('./telemetry');
|
||||
|
||||
async function run() {
|
||||
if (!process.env.TELEMETRY_DISABLE) {
|
||||
await sendTelemetry();
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
Reference in New Issue
Block a user