Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const getEntryFileContents = (
return [
`import * as bootstrap from './${BOOTSTRAP_FILE_NAME}'`,
`import * as func from '${importPath}'`,
'try { const dotenv = await import("dotenv"); dotenv.config() } catch {}',

// See https://esbuild.github.io/content-types/#default-interop.
'const funcModule = typeof func.default === "function" ? func : func.default',
Expand Down
Loading