glyphix 1.0.38 → 1.0.39

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.
Files changed (2) hide show
  1. package/bin/glyphix.js +4 -3
  2. package/package.json +1 -1
package/bin/glyphix.js CHANGED
@@ -215,10 +215,11 @@ var GxGenerate = class {
215
215
  path: args.path
216
216
  };
217
217
  }
218
- for (let i = 0; i < resolveExtensions.length; i++) {
218
+ const _resolveExtensions = [...resolveExtensions, ""];
219
+ for (let i = 0; i < _resolveExtensions.length; i++) {
219
220
  const fullPath = (0, import_node_path3.join)(
220
221
  that.buildRoot,
221
- `${args.path}${resolveExtensions[i]}`
222
+ `${args.path}${_resolveExtensions[i]}`
222
223
  );
223
224
  if ((0, import_node_fs.existsSync)(fullPath)) {
224
225
  return {
@@ -227,7 +228,7 @@ var GxGenerate = class {
227
228
  }
228
229
  const fullIndexPath = (0, import_node_path3.join)(
229
230
  that.buildRoot,
230
- `${args.path}/index${resolveExtensions[i]}`
231
+ `${args.path}/index${_resolveExtensions[i]}`
231
232
  );
232
233
  if ((0, import_node_fs.existsSync)(fullIndexPath)) {
233
234
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glyphix",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "main": "lib/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "files": [