fix patch lib feat/phase-2g-bundle
AI Agent git-import/068377df · 122 days ago · Mar 26, 2026 · Diff

fix(lib): avoid fileURLToPath(import.meta.url) on Netlify-bundled bridge

Netlify esbuild can leave import.meta.url undefined; config/import/load-env called fileURLToPath at module load and crashed hosted import with TypeError.

- Add getRepoRoot() using process.cwd when NETLIFY or AWS_LAMBDA_FUNCTION_NAME - Wire config, import, and load-env through it - Add regression test for NETLIFY branch

sha256:a6ddf312502c2f9def4f45cd554a03dcfb4e49a337937333d3dd97b87e6932e9 sha
sha256:c641e4d00c10c646b2d84a78cd3ccc6450cbec933a18fe86bdcae2ef6fdd95a8 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:a6ddf312502c2f9def4f45cd554a03dcfb4e49a337937333d3dd97b87e6932e9 --body "your comment"