-
Notifications
You must be signed in to change notification settings - Fork 5
Dependency on "events" library not declared. #14
Comments
Mhh, interesting that it was never a problem before. Do you have an idea why? As I understand it should have crashed in the browser but it didn't, it seems like. |
Maybe you used another library with also had that dependency and so it was there already. |
I checked the dependencies. events is a direct dependency of webpack. So it should always be resolvable in this repository. |
It doesn't work in Vite |
That really depends on the build system and package manager. Moreover, it is a really bad idea to put webpack (or any other dev dependency) into the finished bundle. If a library has a runtime dependency on another library, it should be declared either in the 'dependencies' or 'peer-dependencies' section in Thanks! |
I created a PR in the main repo. |
Description
lib-jitsi-meet depends on the events package. This depencency should be declared in the
package.json
Current behavior
When packaging the library with esbuild I get the following errors:
Expected Behavior
Packaging the library with esbuild should not result in errors.
Possible Solution
Proposed solutions:
Steps to reproduce
package.json
Environment details
The text was updated successfully, but these errors were encountered: