diff --git a/example/package.json b/example/package.json index 54ed65a09..be3f3d788 100644 --- a/example/package.json +++ b/example/package.json @@ -17,7 +17,7 @@ }, "homepage": "https://github.com/rockuw/oss-in-browser#readme", "dependencies": { - "ali-oss": "^4.11.2", + "ali-oss": "^5.0.0", "babel-polyfill": "^6.26.0", "co": "^4.6.0", "express": "^4.16.2", diff --git a/package.json b/package.json index 5d8ff98f0..c438d2936 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "dist" ], "browser": { - "lib/client.js": "./lib/browser.js", + "lib/client.js": "./dist/aliyun-oss-sdk.js", "mime": "./shims/mime.js", "urllib": "./shims/xhr.js", "utility": "./shims/utility.js",