Skip to content

Commit 5d37dc3

Browse files
authored
fix: allow react native bundle files (#666)
* fix: allow react native bundle files * Update CHANGELOG.md
1 parent 544a669 commit 5d37dc3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
2121

2222
* **New Feature**
2323
* Add support for Brotli compression ([#663](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/663) by [@dcsaszar](https://github.com/dcsaszar))
24+
* Add support for React Native ([666](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/666) by [@ilteoood](https://github.com/ilteoood))
2425

2526
## 4.10.2
2627

src/analyzer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const {createAssetsFilter} = require('./utils');
1010
const {getCompressedSize} = require('./sizeUtils');
1111

1212
const FILENAME_QUERY_REGEXP = /\?.*$/u;
13-
const FILENAME_EXTENSIONS = /\.(js|mjs|cjs)$/iu;
13+
const FILENAME_EXTENSIONS = /\.(js|mjs|cjs|bundle)$/iu;
1414

1515
module.exports = {
1616
getViewerData,

0 commit comments

Comments
 (0)