Skip to content

Commit

Permalink
fix: @nuxtjs/tailwindcss not detected in Nuxt 2 / Bridge (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonlinU authored Nov 28, 2022
1 parent d1f32fb commit b168fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuxt-windicss/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ export default defineNuxtModule<ModuleOptions>({

const installedModules = [
...nuxt.options.modules,
// Removed in Nuxt 3
// ...nuxt.options.buildModules,
// Not defined in Nuxt 3
...(nuxt.options.buildModules || []),
]
// Make sure they're not using tailwind
// @todo move to a util
Expand Down

0 comments on commit b168fe2

Please sign in to comment.