Skip to content

Add safeResolve helper for browser fallback#216

Open
Bijikyu wants to merge 1 commit intomainfrom
qtu3kp-q/add-saferesolve-helper-and-update-tests
Open

Add safeResolve helper for browser fallback#216
Bijikyu wants to merge 1 commit intomainfrom
qtu3kp-q/add-saferesolve-helper-and-update-tests

Conversation

@Bijikyu
Copy link
Owner

@Bijikyu Bijikyu commented Jun 15, 2025

Summary

  • add safeResolve helper so browsers without require don't crash
  • use safeResolve across index.js API
  • clarify comments to describe the new fallback
  • test browser loading without require via JSDOM

Testing

  • npm test

https://chatgpt.com/codex/tasks/task_b_684e90634e14832281553b6127be9135

@codesandbox
Copy link

codesandbox bot commented Jun 15, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant