Skip to content

Commit

Permalink
feat: scan additional components folders
Browse files Browse the repository at this point in the history
support new project starter structure, with backwards compatibility
  • Loading branch information
cossssmin committed Nov 20, 2024
1 parent 5cba991 commit 38e0ed4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/posthtml/defaultComponentsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@ export default {
root: './',
tag: 'component',
fileExtension: 'html',
folders: ['src/components', 'src/layouts', 'src/templates'],
folders: [
'layouts',
'emails',
'templates',
'components',
'src/layouts',
'src/templates',
'src/components'
],
expressions: {
loopTags: ['each', 'for'],
missingLocal: '{local}',
Expand Down

0 comments on commit 38e0ed4

Please sign in to comment.