Skip to content

Commit

Permalink
fix: respect config.js root paths in tailwindcss content sources
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Oct 11, 2022
1 parent 677048e commit 5d6fc16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generators/tailwindcss.js
Expand Up @@ -35,8 +35,8 @@ module.exports = {
important: true,
content: {
files: [
'./src/components/**.html',
'./src/layouts/**.html',
`${get(maizzleConfig, 'build.components.root', './src/components')}/**/*.html`,
`${get(maizzleConfig, 'build.layouts.root', './src/layouts')}/**/*.html`,
{raw: html, extension: 'html'}
]
}
Expand Down

0 comments on commit 5d6fc16

Please sign in to comment.