Skip to content

Commit

Permalink
Fix .cjs files not showing up in bundle analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Rush authored Jul 17, 2022
1 parent e5b617e commit e14a676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const {parseBundle} = require('./parseUtils');
const {createAssetsFilter} = require('./utils');

const FILENAME_QUERY_REGEXP = /\?.*$/u;
const FILENAME_EXTENSIONS = /\.(js|mjs)$/iu;
const FILENAME_EXTENSIONS = /\.(js|mjs|cjs)$/iu;

module.exports = {
getViewerData,
Expand Down

0 comments on commit e14a676

Please sign in to comment.