MCPcopy
hub / github.com/nuxt-modules/tailwindcss / resolvePageFiles

Function resolvePageFiles

src/internal-context/load.ts:134–148  ·  view source on GitHub ↗
(pages: NuxtPage[])

Source from the content-addressed store, hash-verified

132 }
133
134 const resolvePageFiles = (pages: NuxtPage[]) => {
135 const filePaths: string[] = []
136
137 pages.forEach((page) => {
138 if (page.file) {
139 filePaths.push(page.file)
140 }
141
142 if (page.children && page.children.length) {
143 filePaths.push(...resolvePageFiles(page.children))
144 }
145 })
146
147 return filePaths
148 }
149
150 const getModuleConfigs = () => {
151 const thenCallHook = async (resolvedConfig: ResolvedConfig) => {

Callers 1

registerHooksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected