Open gorbak25 opened 3 days ago
For now I've added poly-fills directly to trigger.config.ts
// Add polifills for Node v22
// https://github.com/triggerdotdev/trigger.dev/issues/1468
import 'core-js/actual/iterator';
import 'core-js/actual/object';
import 'core-js/actual/map';
Thanks, this is useful especially with the polyfills!
We're going to be adding a new runtime
option for Node 22 quite soon.
Is your feature request related to a problem? Please describe.
In a data processing pipeline which uses a lot of grouping operations introduced in node v21 the code fails with.
From what I see trigger runs on node v20.
Describe the solution you'd like to see
Allow users to change the node version in their trigger config. I understand that this will increase the testing and maintenance cost a LOT so it's probably not worth implementing.
Describe alternate solutions
Additional information
No response