@orkestrel/guide 0.0.19 → 0.0.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.
- package/dist/src/core/index.cjs +1 -1
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.js +1 -1
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +9 -10
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.js +10 -11
- package/dist/src/server/index.js.map +1 -1
- package/package.json +11 -11
package/dist/src/core/index.cjs
CHANGED
|
@@ -731,7 +731,7 @@ function hasCanonicalSegments(key) {
|
|
|
731
731
|
function normalizeDirectories(module) {
|
|
732
732
|
const directories = [];
|
|
733
733
|
const seen = /* @__PURE__ */ new Set();
|
|
734
|
-
for (const value of
|
|
734
|
+
for (const value of (0, _orkestrel_contract.isString)(module) ? [module] : module) {
|
|
735
735
|
const directory = resolvePath(".", value);
|
|
736
736
|
if (seen.has(directory)) continue;
|
|
737
737
|
seen.add(directory);
|