elysia-autoload 1.2.0 → 1.2.1
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.
- package/dist/index.js +0 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -109,12 +109,6 @@ async function autoload(options = {}) {
|
|
109
109
|
const url = transformToUrl(filePath);
|
110
110
|
const groupOptions = schema ? schema({ path: filePath, url }) : {};
|
111
111
|
const importedValue = file[importName];
|
112
|
-
console.log(
|
113
|
-
importedValue.toString(),
|
114
|
-
importedValue.length,
|
115
|
-
typeof importedValue === "function" && !importedValue.length,
|
116
|
-
importedValue instanceof Elysia
|
117
|
-
);
|
118
112
|
if (typeof importedValue === "function" && importedValue.length)
|
119
113
|
plugin.group(url, groupOptions, importedValue);
|
120
114
|
if (typeof importedValue === "function" && !importedValue.length)
|