@nuxt/kit-nightly 5.0.0-29677644.cbbf2682 → 5.0.0-29677752.f67cca55
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.mjs +3 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -404,11 +404,12 @@ async function resolvePath(path, opts = {}) {
|
|
|
404
404
|
*/
|
|
405
405
|
async function findPath(paths, opts, pathType = "file") {
|
|
406
406
|
for (const path of toArray(paths)) {
|
|
407
|
+
const type = opts?.type || pathType;
|
|
407
408
|
const res = await _resolvePathGranularly(path, {
|
|
408
409
|
...opts,
|
|
409
|
-
type
|
|
410
|
+
type
|
|
410
411
|
});
|
|
411
|
-
if (!res.type ||
|
|
412
|
+
if (!res.type || res.type !== type) continue;
|
|
412
413
|
if (res.virtual || await existsSensitive(res.path)) return res.path;
|
|
413
414
|
}
|
|
414
415
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/kit-nightly",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-29677752.f67cca55",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"untyped": "^2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-
|
|
46
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29677752.f67cca55",
|
|
47
47
|
"@rspack/core": "2.0.5",
|
|
48
48
|
"@types/semver": "7.7.1",
|
|
49
49
|
"hookable": "6.1.1",
|