Skip to content

fix: access process from globalThis#73

Merged
pi0 merged 1 commit intounjs:mainfrom
patricklx:fix-process-access
Aug 21, 2023
Merged

fix: access process from globalThis#73
pi0 merged 1 commit intounjs:mainfrom
patricklx:fix-process-access

Conversation

@patricklx
Copy link
Contributor

🔗 Linked issue

fixes #72

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

fixes process access in browser, otherwise esm modules depengding on this will not work
fixes #72

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pi0 pi0 changed the title fix: process not available in browser env fix: access process from globalThis Aug 21, 2023
@pi0 pi0 merged commit 3000f0b into unjs:main Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

process is not defined in browser

2 participants