Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Node: extract version from package.json using require()
This allows JS bundlers such as webpack to embed the version string in the bundle. Otherwise a bundled JS app would look for mediasoup's package.json in "../.." on the filesystem (and it's very likely not there).
- Loading branch information