@xiaobai-world/upload
Advanced tools
Comparing version 0.0.66 to 0.0.67
{ | ||
"name": "@xiaobai-world/upload", | ||
"version": "0.0.66", | ||
"version": "0.0.67", | ||
"description": "upload to xiaobai store", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -159,2 +159,3 @@ #!/usr/bin/env node | ||
try { | ||
const css = mainifest["index.html"].css; | ||
await axios.post( | ||
@@ -167,3 +168,5 @@ `${base}/store/setTestAppEntry`, | ||
jsEntry: path.join(pathRes.data, mainifest["index.html"].file), | ||
css: mainifest["index.html"].css.map((p) => path.join(pathRes.data, p)), | ||
css: Array.isArray(css) | ||
? css.map((p) => path.join(pathRes.data, p)) | ||
: [], | ||
version: package.version, | ||
@@ -180,4 +183,3 @@ name: package.name, | ||
} catch (e) { | ||
console.error(e) | ||
console.error(e.response.data); | ||
console.error(e); | ||
} | ||
@@ -184,0 +186,0 @@ } |
9336
280