Uh oh!
There was an error while loading. Please reload this page.
downgrade inquirer - #4519
Conversation
iansu
commented
May 25, 2018
I'm not sure if this is the best way to handle this. If we do this then we have to remember to not update this dependency in the future. Is there a lightweight alternative to Inquirer that we could use instead? |
bugzpodder
commented
May 25, 2018
Yep, there definitely should be, will check later. I think you added the inquirer library over prompt.js #1772 |
iansu
commented
May 25, 2018
That's right. I think that was my first contribution to Create React App. 😀 I'd like to avoid going back to a custom solution. There was a reason we moved away from that in the first place. I'll look around a bit too and see if I can find a good alternative. I suppose we could also raise an issue with Inquirer if someone hasn't already. |
bugzpodder
commented
May 25, 2018
closing this in favor of a smaller package. |
bugzpodder
commented
May 26, 2018
@iansu finally found something reasonable: |
wtgtybhertgeghgtwtg
commented
May 27, 2018
Asking |
hmmm. they upgraded from rx-lite (400kb) to rx5 and more recently rx6. |
iansu
commented
May 28, 2018
@bugzpodder Do you mind opening an issue with Inquirer about reducing their install size? Let's see what they say before we consider replacing the package. |
bugzpodder
commented
May 28, 2018
Sure I'll see if i can open a few issues. |
iansu
commented
May 28, 2018
It looks like RxJS is intentionally publishing |
The src is about 2.2MB, so its unclear if excluding source will help that much. |
#3880 (comment)
Basically removes rxjs dependency, which is around 18MB.
Tested yarn eject, yes/no.