This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Loader, | |
PluginBuild, | |
} from "https://deno.land/x/[email protected]/mod.js"; | |
import { dirname, join } from "https://deno.land/[email protected]/path/mod.ts"; | |
import { createLogger } from "packages/logs/mod.ts"; | |
const log = createLogger("esbuildDenoPlugin", "debug"); | |
const logError = createLogger("esbuildDenoPlugin", "error"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { Handler } from "packages/lib/types/Handler.ts"; | |
import { shutdownBackend } from "packages/events/mod.ts"; | |
// import { createLogger } from "packages/logs/mod.ts"; | |
import { APIGatewayEvent } from "packages/lib/types/aws.ts"; | |
function createLogger(..._args: Array<string>) { | |
return console.log; | |
} | |
const log = createLogger("lambda:runtime", "debug"); | |
const logInfo = createLogger("lambda:runtime", "info"); | |
const logError = createLogger("lambda:runtime", "error"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
flake-utils.url = "github:numtide/flake-utils"; | |
nixpkgs.url = "nixpkgs/nixos-24.11"; | |
nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; | |
}; | |
outputs = { self, nixpkgs, flake-utils, nixpkgs-unstable }: | |
flake-utils.lib.eachDefaultSystem (system: | |
let |
OlderNewer