Skip to content

Commit 8494fbd

Browse files
binghaiwangPeterRao
authored andcommitted
fix(browser): use build dist file for browser (#430)
* fix(browser): construct in third frame * feat: ci support node 9
1 parent f82bf8f commit 8494fbd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
sudo: false
22
language: node_js
33
node_js:
4+
- '9'
45
- '8'
56
env:
67
global:

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"homepage": "https://github.com/rockuw/oss-in-browser#readme",
1919
"dependencies": {
20-
"ali-oss": "^4.11.2",
20+
"ali-oss": "^5.0.0",
2121
"babel-polyfill": "^6.26.0",
2222
"co": "^4.6.0",
2323
"express": "^4.16.2",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dist"
1010
],
1111
"browser": {
12-
"lib/client.js": "./lib/browser.js",
12+
"lib/client.js": "./dist/aliyun-oss-sdk.js",
1313
"mime": "./shims/mime.js",
1414
"urllib": "./shims/xhr.js",
1515
"utility": "./shims/utility.js",

0 commit comments

Comments
 (0)