Skip to content

Commit

Permalink
Merge pull request #18 from primer/rezrah/patch-mdx
Browse files Browse the repository at this point in the history
add support for markdown files
  • Loading branch information
rezrah authored May 27, 2022
2 parents 44c7e7e + bd3fe14 commit ac3015f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const project = createProject();

const args = require('yargs-parser')(process.argv.slice(2));
const srcPath = args._[0] || 'src';
const globPath = resolve(srcPath + '/**/*.{tsx,ts,jsx,js}');
const globPath = resolve(srcPath + '/**/*.{tsx,ts,jsx,js,mdx,md}');

project.addSourceFilesAtPaths(globPath);
console.log(`${project.getSourceFiles().length} files found at ${globPath} \n`);
Expand Down

0 comments on commit ac3015f

Please sign in to comment.