Skip to content
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

remove dependency of awos-js in final bundle #18

Open
huxwfun opened this issue Feb 24, 2020 · 1 comment
Open

remove dependency of awos-js in final bundle #18

huxwfun opened this issue Feb 24, 2020 · 1 comment

Comments

@huxwfun
Copy link

huxwfun commented Feb 24, 2020

its quite big 45m+

currently, both fc invoker and receiver uses awos-js to upload and download params/response

An alternative way shall be create a signatureUrl from the invoker, pass this url to receiver.
If the result is big enough to upload to oss, put it to this url using node http or axios

It opens the possibility of using fc-toolkit as a global command line tool, without installing the full package inside the to be uploaded bundle.

I shall deal with it later with a pr

@huxwfun
Copy link
Author

huxwfun commented Feb 24, 2020

keep it here as reminder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant