mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -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);
|
||||
}
|
||||
|
||||
// Prevent oclif from loading ts-node and typescript
|
||||
process.env.OCLIF_TS_NODE = '0';
|
||||
|
||||
require('source-map-support').install();
|
||||
|
||||
require('@oclif/command')
|
||||
|
|
Loading…
Reference in a new issue