Skip to content

Commit

Permalink
fix: use actual node fs for content config module
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Oct 23, 2023
1 parent 10a9c2d commit e56023a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function generateContentEntryFile({

// const [contentEntryGlobResult, dataEntryGlobResult, renderEntryGlobResult] = await Promise.all([contentEntryExts, dataEntryExts, contentEntryExts].map((exts, i) => getStringifiedGlobResult(settings, exts, lookupMap, getContentExtension(i))));

const virtualModContents = fs
const virtualModContents = nodeFs
.readFileSync(contentPaths.virtualModTemplate, 'utf-8')
.replace('@@CONTENT_DIR@@', relContentDir)
.replace(
Expand Down

0 comments on commit e56023a

Please sign in to comment.