Skip to content

Commit

Permalink
fix(module): add .mjs extension to tailwind content when builded
Browse files Browse the repository at this point in the history
Resolves #172
  • Loading branch information
benjamincanac committed May 19, 2023
1 parent ea740bf commit 246449b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default defineNuxtModule<ModuleOptions>({
require('@tailwindcss/typography')
],
content: [
resolve(runtimeDir, 'components/**/*.{vue,js,ts}'),
resolve(runtimeDir, 'components/**/*.{vue,mjs,ts}'),
resolve(runtimeDir, '*.{mjs,js,ts}')
]
}
Expand Down

0 comments on commit 246449b

Please sign in to comment.