Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

fix: define __dirname #429

Merged
merged 1 commit into from
May 11, 2022
Merged

fix: define __dirname #429

merged 1 commit into from
May 11, 2022

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented May 10, 2022

__dirname is not available in ESM environments, we have to derive it from the import metadata.

Fixes #409

`__dirname` is not available in ESM environments, we have to derive
it from the import meta.
@achingbrain achingbrain changed the title fix: defined dirname fix: define __dirname May 10, 2022
@mpetrunic mpetrunic merged commit ced684b into master May 11, 2022
@mpetrunic mpetrunic deleted the fix/define-dirname branch May 11, 2022 06:52
github-actions bot pushed a commit that referenced this pull request May 11, 2022
@github-actions
Copy link

🎉 This PR is included in version @libp2p/webrtc-star-signalling-server-v1.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

__dirname is not defined
2 participants