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

移除对uuid的依赖 #15

Open
otakustay opened this issue Mar 17, 2019 · 0 comments
Open

移除对uuid的依赖 #15

otakustay opened this issue Mar 17, 2019 · 0 comments

Comments

@otakustay
Copy link
Member

实测由于uuid -> rng -> crypto的依赖关系,在webpack打包时会引入相关的polyfill导致gzip后60KB的体积消耗

uuid在这个库只用于计算一个session key,可以用随机+时间等方法搞定

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