Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.4k
chore(webapp): migrate from Remix compiler to Vite#4188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
ba9f6e79ae20e542244ad653cb439aadad2d2efc3ad775d06188a984c43dca527220b68ab607fFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@trigger.dev/sdk": patch | ||
| --- | ||
| Suppress a build-time warning that could appear in Vite-based projects when the optional `@ai-sdk/otel` package is not installed. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -13,7 +13,7 @@ const BodySchema = z.object({ | ||
| taskIdentifier: z.string().min(1, "Task identifier is required"), | ||
| }); | ||
| export const { action } = createActionApiRoute( | ||
| const route = createActionApiRoute( | ||
| { | ||
| params: ParamsSchema, | ||
| body: BodySchema, | ||
| @@ -50,3 +50,7 @@ export const { action } = createActionApiRoute( | ||
| } | ||
| } | ||
| ); | ||
| export const action = route.action; | ||
devin-ai-integration[bot] marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| // The builder's loader handles CORS OPTIONS preflight | ||
| export const loader = route.loader; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -9,7 +9,7 @@ const BodySchema = z.object({ | ||
| action: z.enum(["pause", "resume"]), | ||
| }); | ||
| export const { action } = createActionApiRoute( | ||
| const route = createActionApiRoute( | ||
| { | ||
| body: BodySchema, | ||
| params: z.object({ | ||
| @@ -44,3 +44,7 @@ export const { action } = createActionApiRoute( | ||
| return json(q); | ||
| } | ||
| ); | ||
| export const action = route.action; | ||
| // The builder's loader answers non-POST methods with a 405 | ||
| export const loader = route.loader; | ||
kathiekiwi marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.