Closed abdel-17 closed 1 month ago
Latest commit: 4372bd36ac40d8e16e4b7cdcd105005612fe0294
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Name | Status | Preview | Last Commit |
---|---|---|---|
runed | ✅ Ready (View Log) | Visit Preview | 4372bd36ac40d8e16e4b7cdcd105005612fe0294 |
Seems like vitest or the environment doesn't like esm-env
. The tests pass when I pull locally and swap it for the previous.
This pr removes the
isBrowser()
function in favor of usingesm-env
. It's tree-shakable and just exports a constant instead of relying on runtime code.