@systemfsoftware/trigger.dev_cli
Version:
The Trigger.dev CLI
9 lines (6 loc) • 356 B
JavaScript
import { createRemixRoute } from "@systemfsoftware/trigger.dev_remix";
import { client } from "${routePathPrefix}trigger.server";
// Remix will automatically strip files with side effects
// So you need to *export* your Job definitions like this:
export * from "${routePathPrefix}jobs/example.server";
export const { action } = createRemixRoute(client);