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).
正在显示
请
注册
或者
登录
后发表评论