We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28346e2 commit 4a9fc40Copy full SHA for 4a9fc40
src/module.ts
@@ -107,6 +107,9 @@ export default defineNuxtModule<ModuleOptions>({
107
if (!unheadVersion || lt(unheadVersion, '1.10.0')) {
108
logger.error(`Nuxt Scripts requires Unhead >= 1.10.0, you are using v${unheadVersion}. Please run \`nuxi upgrade --clean\` to upgrade...`)
109
}
110
+ else if (lt(unheadVersion, '1.10.1')) {
111
+ logger.warn(`Nuxt Scripts recommends Unhead >= 1.10.1, you are using v${unheadVersion}. Please run \`nuxi upgrade --clean\` to upgrade...`)
112
+ }
113
114
// allow augmenting the options
115
nuxt.options.alias['#nuxt-scripts-validator'] = resolve(`./runtime/validation/${(nuxt.options.dev || nuxt.options._prepare) ? 'valibot' : 'mock'}`)
0 commit comments