mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08: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:
parent
2f40a7f98a
commit
1a6f7a1e0d
|
@ -29,6 +29,9 @@ if (![14, 16, 18].includes(nodeVersionMajor)) {
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent oclif from loading ts-node and typescript
|
||||||
|
process.env.OCLIF_TS_NODE = '0';
|
||||||
|
|
||||||
require('source-map-support').install();
|
require('source-map-support').install();
|
||||||
|
|
||||||
require('@oclif/command')
|
require('@oclif/command')
|
||||||
|
|
Loading…
Reference in a new issue