Skip to content

Commit

Permalink
docs: gendocs with _meta.ts instead of json
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Oct 11, 2023
1 parent cab877a commit e93a24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/post-gendocs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function createRecursiveMetaFiles(dirPath) {
}

await fsp.writeFile(
path.join(dirPath, '_meta.json'),
JSON.stringify(meta, null, ' ') + '\n',
path.join(dirPath, '_meta.ts'),
'export default ' + JSON.stringify(meta, null, ' ') + '\n',
);
}

0 comments on commit e93a24a

Please sign in to comment.