mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00: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:
committed by
GitHub
parent
2f40a7f98a
commit
1a6f7a1e0d
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user