Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/runtime/node/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var forceExternal = []string{
}

var targetMap = map[string]esbuild.Target{
"nodejs24.x": esbuild.ES2023,
"nodejs22.x": esbuild.ES2023,
"nodejs20.x": esbuild.ES2023,
"nodejs18.x": esbuild.ES2022,
Expand Down
3 changes: 2 additions & 1 deletion platform/src/components/aws/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,15 @@ export interface FunctionArgs {
* @example
* ```js
* {
* runtime: "nodejs22.x"
* runtime: "nodejs24.x"
* }
* ```
*/
runtime?: Input<
| "nodejs18.x"
| "nodejs20.x"
| "nodejs22.x"
| "nodejs24.x"
| "go"
| "rust"
| "provided.al2023"
Expand Down
4 changes: 2 additions & 2 deletions platform/src/components/aws/ssr-site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ export interface SsrSiteArgs extends BaseSsrSiteArgs {
* ```js
* {
* server: {
* runtime: "nodejs22.x"
* runtime: "nodejs24.x"
* }
* }
* ```
*/
runtime?: Input<"nodejs18.x" | "nodejs20.x" | "nodejs22.x">;
runtime?: Input<"nodejs18.x" | "nodejs20.x" | "nodejs22.x" | "nodejs24.x";
/**
* The maximum amount of time the server function can run.
*
Expand Down