Skip to content

Fix build for bundlers targetting browsers#799

Draft
yamcodes wants to merge 3 commits intomainfrom
791-error-when-using-arkenv-in-client-side-bundle
Draft

Fix build for bundlers targetting browsers#799
yamcodes wants to merge 3 commits intomainfrom
791-error-when-using-arkenv-in-client-side-bundle

Conversation

@yamcodes
Copy link
Owner

While ArkEnv is not written for browsers directly (it's written as a Node.js package ) - it's a good idea to write it in a way that still works on browsers, especially for upcoming integrations (e.g. #655)

This closes #791 since the usage there is a client-side Next.js bundle (via Webpack).

@yamcodes yamcodes linked an issue Feb 12, 2026 that may be closed by this pull request
@changeset-bot
Copy link

changeset-bot bot commented Feb 12, 2026

⚠️ No Changeset found

Latest commit: 3afa902

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 791-error-when-using-arkenv-in-client-side-bundle

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added arkenv Changes to the `arkenv` npm package. tests This issue or PR is about adding, removing or changing tests labels Feb 12, 2026
@arkenv-bot
Copy link
Contributor

arkenv-bot bot commented Feb 12, 2026

📦 Bundle Size Report

Package Size Limit Diff Status
arkenv 1.52 kB 2.93 kB 0.0%

All size limits passed!

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

Labels

arkenv Changes to the `arkenv` npm package. tests This issue or PR is about adding, removing or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when using arkenv in client-side bundle

1 participant