adminforth 1.0.78 → 1.0.79

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.
@@ -418,7 +418,9 @@ class CodeInjector {
418
418
  }
419
419
  }
420
420
  });
421
- yield collectDirectories(customComponentsDir);
421
+ if (customComponentsDir) {
422
+ yield collectDirectories(customComponentsDir);
423
+ }
422
424
  const watcher = filewatcher();
423
425
  directories.forEach((dir) => {
424
426
  watcher.add(dir);
@@ -482,7 +482,9 @@ async watchForReprepare({ verbose }) {
482
482
  }
483
483
  };
484
484
 
485
- await collectDirectories(customComponentsDir);
485
+ if (customComponentsDir) {
486
+ await collectDirectories(customComponentsDir);
487
+ }
486
488
 
487
489
  const watcher = filewatcher();
488
490
  directories.forEach((dir) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",