forked from siddharthkp/bundlesize
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from chemmedia/fix-383
fix siddharthkp#383 – ensure files are not matched twice
- Loading branch information
Showing
9 changed files
with
87 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
The contents of this file aren't important, | ||
what's important is the size | ||
241B gzip | ||
*/ | ||
|
||
const { inspect } = require('util') | ||
const files = require('./src/files') | ||
const reporter = require('./src/reporter') | ||
const build = require('./src/build') | ||
|
||
reporter(files) | ||
|
||
process.on('unhandledRejection', function(reason) { | ||
console.log('Unhandled Promise') | ||
console.log(inspect(reason)) | ||
build.error() | ||
}) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"files": [ | ||
{ | ||
"path": "build/file-734B.js", | ||
"maxSize": "1KB" | ||
}, | ||
{ | ||
"path": "build/file-*.js", | ||
"maxSize": "250B" | ||
}, | ||
{ | ||
"path": "build/file-241B.js", | ||
"maxSize": "100B" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.