Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ineshbose committed Oct 17, 2024
1 parent 9d42549 commit a7b886a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export default defineNuxtConfig({
}
else if (idx === 1 && config) {
config.content = config.content ?? []
Array.isArray(config.content) ? config.content.push('my-content') : config.content.files.push('my-file-content')

if (Array.isArray(config.content))
config.content.push('my-content')
else
config.content.files.push('my-file-content')
}
},
'tailwindcss:config': (config) => {
Expand Down Expand Up @@ -72,4 +76,4 @@ export default defineNuxtConfig({
],

compatibilityDate: '2024-07-11',
})
})

0 comments on commit a7b886a

Please sign in to comment.