Skip to content

Commit

Permalink
chore: typo (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptdev authored Jan 10, 2025
1 parent 0356c34 commit 8ac3520
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 @@ -52,7 +52,7 @@ export default defineNuxtModule<ModuleOptions>({

// @ts-expect-error `customize` is not allowed in module options
if (typeof options.customize === 'function') {
throw new TypeError('`customize` callback can\'t not be set in module options, use `app.config.ts` or component props instead.')
throw new TypeError('`customize` callback cannot be set in module options, use `app.config.ts` or component props instead.')
}

// Use `server` provider when SSR is disabled or generate mode
Expand Down Expand Up @@ -116,7 +116,7 @@ export default defineNuxtModule<ModuleOptions>({
if (bundle.remote || !bundle.externalizeIconsJson)
return

logger.warn('Nuxt Icon\'s `serverBundle.externalizeIconsJson` is en experimental feature, it would require your production Node.js server able to import JSON modules.')
logger.warn('Nuxt Icon\'s `serverBundle.externalizeIconsJson` is an experimental feature, it requires that your production Node.js server is able to import JSON modules.')

const collections = bundle.collections
.filter(collection => typeof collection === 'string')
Expand Down

0 comments on commit 8ac3520

Please # to comment.