1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-07 18:18:19 +03:00

perf: Prevent oclif from loading ts-node and typescript (#5047) (no-changelog)

Prevent oclif from loading ts-node and typescript
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2022-12-29 12:23:33 +01:00 committed by GitHub
parent 2f40a7f98a
commit 1a6f7a1e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,9 @@ if (![14, 16, 18].includes(nodeVersionMajor)) {
process.exit(1);
}
// Prevent oclif from loading ts-node and typescript
process.env.OCLIF_TS_NODE = '0';
require('source-map-support').install();
require('@oclif/command')