twilio / twilio-video.js

Twilio’s Programmable Video JavaScript SDK
https://www.twilio.com/docs/video/javascript
Other
571 stars 217 forks source link

`puppeteer` become `dependencies`, not `devDependencies` in 2.5.0. it makes 300M zip file. #1036

Closed thomaszooman closed 4 years ago

thomaszooman commented 4 years ago

Code to reproduce the issue:

  "dependencies": {
    "@twilio/webrtc": "4.2.1",
    "backoff": "^2.5.0",
    "chromedriver": "2.28.0",
    "puppeteer": "^1.11.0",
    "ws": "^3.3.1",
    "xmlhttprequest": "^1.8.0"
  },

puppeteer become dependencies, not devDependencies in 2.5.0. it makes the code package more them 300M zip file because the Chromium.app. please confirm that does it REALLY need in runtime?

TODO

Software versions:

makarandp0 commented 4 years ago

Thank you for bringing up this issue @thomaszooman - This was not intentional - puppeteer is not needed at runtime. I have filed a bug to get this fixed (JSDK-2848)

Thanks Makarand

makarandp0 commented 4 years ago

@thomaszooman, Thank you again for reporting this issue - this is now fixed in 2.5.1.