fast-cocos 1.1.19 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,7 +94,7 @@ class Audio {
94
94
  // 旧版本模式
95
95
  return {
96
96
  fileName,
97
- ref: `${options.bundle}://${xlsxName}/audio/{0}/`,
97
+ ref: `${options.bundle}://${xlsxName}/audio/`,
98
98
  output: path_1.default.join(options.output, xlsxName, "audio"),
99
99
  script: path_1.default.join(options.script, xlsxName, "config", `${fileName}.ts`),
100
100
  };
@@ -35,7 +35,7 @@ function main() {
35
35
  script: options.script,
36
36
  bundle: options.bundle,
37
37
  ref: options.ref,
38
- special: JSON.parse(utils_1.utils.decodeBase64(options.special || "{}")),
38
+ special: options.special ? JSON.parse(utils_1.utils.decodeBase64(options.special)) : {},
39
39
  });
40
40
  });
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-cocos",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "scripts": {
5
5
  "clean": "rm -rf dist",
6
6
  "start": "node ./dist/index.js",