Skip to content

Commit

Permalink
chore: recommend 1.11.5 unhead
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 15, 2024
1 parent e4f140c commit 9c1a3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ export default defineNuxtModule<ModuleOptions>({
if (!unheadVersion || lt(unheadVersion, '1.10.0')) {
logger.error(`Nuxt Scripts requires Unhead >= 1.10.0, you are using v${unheadVersion}. Please run \`nuxi upgrade --clean\` to upgrade...`)
}
else if (lt(unheadVersion, '1.10.4')) {
logger.warn(`Nuxt Scripts recommends Unhead >= 1.10.4, you are using v${unheadVersion}. Please run \`nuxi upgrade --clean\` to upgrade...`)
else if (lt(unheadVersion, '1.11.5')) {
logger.warn(`Nuxt Scripts recommends Unhead >= 1.11.5, you are using v${unheadVersion}. Please run \`nuxi upgrade --clean\` to upgrade...`)
}
}
// allow augmenting the options
Expand Down

0 comments on commit 9c1a3e3

Please sign in to comment.