-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
downgrade inquirer #4519
downgrade inquirer #4519
Conversation
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? |
Yep, there definitely should be, will check later. I think you added the inquirer library over prompt.js #1772 |
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. |
closing this in favor of a smaller package. |
@iansu finally found something reasonable: |
Asking |
hmmm. they upgraded from rx-lite (400kb) to rx5 and more recently rx6. |
@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. |
Sure I'll see if i can open a few issues. |
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.