Skip to content

Commit

Permalink
feat: swap @nuxt/image-edge with @nuxt/image using rc tag
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyBouman-2B-IT committed Jun 24, 2023
1 parent 79191b0 commit e9d6b67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ const updateModule = defineNuxtModule({
meta: {
name: '@nuxt-themes/alpine'
},
setup (_, nuxt) {
setup(_, nuxt) {
if (nuxt.options.dev) {
$fetch('https://registry.npmjs.org/@nuxt-themes/alpine/latest').then((release) => {
if (release.version > version) {
logger.info(`A new version of Alpine (v${release.version}) is available: https://github.com/nuxt-themes/alpine/releases/latest`)
}
}).catch(() => {})
}).catch(() => { })
}
}
})
Expand All @@ -47,7 +47,7 @@ export default defineNuxtConfig({
envModules.tokens,
envModules.studio,
'@nuxt/content',
'@nuxt/image-edge',
'@nuxt/image',
updateModule as any
],
components: [
Expand Down

0 comments on commit e9d6b67

Please sign in to comment.