Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: cjs config generation (#551)
  • Loading branch information
ExEr7um committed Oct 24, 2022
1 parent ac4810d commit bd64377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Expand Up @@ -140,7 +140,7 @@ export default defineNuxtModule<ModuleOptions>({
const resolvedConfig = resolveConfig(tailwindConfig)
addTemplate({
filename: 'tailwind.config.cjs',
getContents: () => `module.export = ${JSON.stringify(resolvedConfig, null, 2)}`,
getContents: () => `module.exports = ${JSON.stringify(resolvedConfig, null, 2)}`,
write: true
})

Expand Down

0 comments on commit bd64377

Please sign in to comment.