nuxt-seo-utils 6.0.1 → 6.0.2
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/module.json +1 -1
- package/dist/module.mjs +6 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -499,7 +499,12 @@ const module = defineNuxtModule({
|
|
|
499
499
|
if (config.extendNuxtConfigAppHeadTypes)
|
|
500
500
|
extendNuxtConfigAppHeadTypes();
|
|
501
501
|
extendTypes("nuxt-seo-utils", async () => {
|
|
502
|
-
|
|
502
|
+
let unheadSchemaPath;
|
|
503
|
+
try {
|
|
504
|
+
unheadSchemaPath = relative(resolve(nuxt.options.rootDir, nuxt.options.buildDir, "module"), await resolvePath("@unhead/schema", { url: import.meta.url }));
|
|
505
|
+
} catch {
|
|
506
|
+
unheadSchemaPath = "@unhead/schema";
|
|
507
|
+
}
|
|
503
508
|
return `
|
|
504
509
|
declare module 'nitropack' {
|
|
505
510
|
interface NitroRouteRules {
|
package/package.json
CHANGED