ali-oss icon indicating copy to clipboard operation
ali-oss copied to clipboard

How to install v7?

Open ricky11 opened this issue 4 years ago • 5 comments

the v.7 branch shows to install use npm install ali-oss, but this will install the master branch which is still v6.x

update the document for 7.x branch to show how to install.

ricky11 avatar Feb 16 '21 15:02 ricky11

The higher the version, the larger the package. In 2021, this package is already 568kb

it's so funny

eugle avatar Feb 16 '21 23:02 eugle

You refer to 6.x right? the release notes have not been updated since version 6.8 so i hope they update the release note to show the changes. I also notice the package size has gone up from 300kb to 500kb, actually i dont know why also.

ricky11 avatar Feb 17 '21 02:02 ricky11

@ricky11 It is very exaggerated to increase to 568kb. Although I used dynamic import to solve the initial bundling, it is still a problem. When used, 568kb of useless code will still be loaded, which is not a real solution.

eugle avatar Feb 17 '21 06:02 eugle

Yes i also use dynamic import, but its still huge.. i hope v7 official support by core oss team will be launched soon, but more important they should update the release notes and the documentation for V7.
there are now broken links in the docs for v7. and most of the doc is just copy/paste from v6. https://github.com/ali-sdk/ali-oss/blob/ts/ts-guide.md

ricky11 avatar May 09 '22 03:05 ricky11