Skip to content

Commit

Permalink
Merge pull request #19726 from SMores/patch-3
Browse files Browse the repository at this point in the history
Storyshots - Support .cjs and .mjs file extensions
  • Loading branch information
ndelangen authored Nov 7, 2022
2 parents 3619d4b + 590022d commit 9a07fcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ interface Output {
requireContexts?: string[];
}

const supportedExtensions = ['ts', 'tsx', 'js', 'jsx'];
const supportedExtensions = ['ts', 'tsx', 'js', 'jsx', 'cjs', 'mjs'];

const resolveFile = (configDir: string, supportedFilenames: string[]) =>
supportedFilenames
Expand Down

0 comments on commit 9a07fcb

Please sign in to comment.