Gathering detailed insights and metrics for @crgwbr/webpack-bundle-tracker
Gathering detailed insights and metrics for @crgwbr/webpack-bundle-tracker
Gathering detailed insights and metrics for @crgwbr/webpack-bundle-tracker
Gathering detailed insights and metrics for @crgwbr/webpack-bundle-tracker
Spits out some stats about webpack compilation process to a file
npm install @crgwbr/webpack-bundle-tracker
Typescript
Module System
Node Version
NPM Version
70
Supply Chain
96.8
Quality
74.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
58 Commits
2 Watchers
4 Branches
1 Contributors
Updated on Mar 07, 2021
Latest Version
0.5.0-b1
Package Id
@crgwbr/webpack-bundle-tracker@0.5.0-b1
Unpacked Size
128.51 kB
Size
49.60 kB
File Count
10
NPM Version
6.5.0
Node Version
11.9.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
Spits out some stats about webpack compilation process to a file.
1npm install --save-dev webpack-bundle-tracker
1var BundleTracker = require('webpack-bundle-tracker'); 2module.exports = { 3 context: __dirname, 4 entry: { 5 app: ['./app'] 6 }, 7 8 output: { 9 path: require("path").resolve('./assets/bundles/'), 10 filename: "[name]-[hash].js", 11 publicPath: 'http://localhost:3000/assets/bundles/', 12 }, 13 14 plugins: [ 15 new BundleTracker({path: __dirname, filename: './assets/webpack-stats.json'}) 16 ] 17}
./assets/webpack-stats.json
will look like,
1{ 2 "status":"done", 3 "chunks":{ 4 "app":[{ 5 "name":"app-0828904584990b611fb8.js", 6 "publicPath":"http://localhost:3000/assets/bundles/app-0828904584990b611fb8.js", 7 "path":"/home/user/project-root/assets/bundles/app-0828904584990b611fb8.js", 8 "sriHash":"sha512-7mTf5s2FNwVU//8WFetpi43RebQCY1+p3IACm0WmaQhSMO+uzDPBKVwJ/MvXX5aiesTrc0T8ne9KigdqJYqp/A==" 9 }] 10 } 11}
In case webpack is still compiling, it'll look like,
1{ 2 "status":"compiling", 3}
And errors will look like,
1{ 2 "status": "error", 3 "file": "/path/to/file/that/caused/the/error", 4 "error": "ErrorName", 5 "message": "ErrorMessage" 6}
ErrorMessage
shows the line and column that caused the error.
And in case logTime
option is set to true
, the output will look like,
{
"status":"done",
"chunks":{
"app":[{
"name":"app-0828904584990b611fb8.js",
"publicPath":"http://localhost:3000/assets/bundles/app-0828904584990b611fb8.js",
"path":"/home/user/project-root/assets/bundles/app-0828904584990b611fb8.js",
"sriHash":"sha512-7mTf5s2FNwVU//8WFetpi43RebQCY1+p3IACm0WmaQhSMO+uzDPBKVwJ/MvXX5aiesTrc0T8ne9KigdqJYqp/A=="
}]
},
"startTime":1440535322138,
"endTime":1440535326804
}
By default, the output JSON will not be indented. To increase readability, you can use the indent
option to make the output legible. By default it is off. The value that is set here will be directly
passed to the space
parameter in JSON.stringify
. More information can be found here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
filename
- Name of the bundle tracker JSON file.logTime
- Optional boolean property to output startTime
and endTime
in bundle tracker file.path
- Optional bundle tracker output path.publicPath
- Optional property to override output.publicPath
.sriHashEnabled
- Defaults to false
. Set to true
to enable calculation of Sub-Resource Integrity Hashes.sriHashAlgorithm
- Optional algorithm to use when calculating sub-resource integrity hashes. Valid options: sha256
, sha384
, or sha512
. Defaults to sha384
.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
47 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More