Gathering detailed insights and metrics for toxic-webpack-manifest-plugin
Gathering detailed insights and metrics for toxic-webpack-manifest-plugin
Gathering detailed insights and metrics for toxic-webpack-manifest-plugin
Gathering detailed insights and metrics for toxic-webpack-manifest-plugin
Generate manifest according to entry chunk, including async chunk
npm install toxic-webpack-manifest-plugin
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Stars
21 Commits
1 Watchers
2 Branches
1 Contributors
Updated on Mar 04, 2023
Latest Version
0.2.2
Package Id
toxic-webpack-manifest-plugin@0.2.2
Size
974.92 kB
NPM Version
5.5.1
Node Version
8.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
This webpack plugin will generate a JSON files for the hashed file version. It include entry chunk and async chunk. You can split them by entry or if you use html-webpack-plugin, you can sort them according to page.
1npm install toxic-webpack-manifest-plugin --save-dev
1const ToxicWebpackManifestPlugin = require('toxic-webpack-manifest-plugin'); 2... 3{ 4 plugins: [ 5 new ToxicWebpackManifestPlugin(), 6 ] 7}
Option | Type | Default | Description |
---|---|---|---|
outputPath | string | undefined | the output path of manifest. we will use the webpack output.path as default |
name | string | toxic-manifest.json | manifest name |
writeToDisk | boolean | false | Write the manifest to disk using fs , it's useful if you are using webpack-dev-server and need to update the file. |
htmlAsEntry | boolean | false | If you use html-webpack-plugin, we can split the file accroding to page. |
pretty | boolean | true | need to prettify the output json |
space | number | 2 | The number use by JSON.stringify when using pretty. |
include | boolean|Function|string|RegExp | true | To check should we include the file. true means include all, false means exclude all. The string will be transfer into RegExp, which means only include when it match the RegExp. The function should return boolean. |
exclude | boolean|Function|string|RegExp | false | the opposite of include |
publicPath | string | undefined | the publicPath for file, use the webpack output.publicPath as default one. |
distinctAsync | boolean | true | should we clarify which one is async |
filenameFormatter | Function | undefined | You can change the filename if you provide this. You can get the filename and publicPath |
The manifest example is here.
1{ 2 "bundle": { 3 "entry": [ 4 "/bundle.js" 5 ], 6 "async": [ 7 "/chunk.2ee0460aecebfc572a43.js", 8 "/chunk.bee94a217f36937c96aa.js" 9 ] 10 }, 11 "vendor": { 12 "entry": [ 13 "/vendor.js" 14 ], 15 "async": [] 16 }, 17 "another": { 18 "entry": [ 19 "/another.js" 20 ], 21 "async": [] 22 } 23}
1{ 2 "index.html": { 3 "entry": [ 4 "/bundle.js", 5 "/vendor.js" 6 ], 7 "async": [ 8 "/chunk.2ee0460aecebfc572a43.js", 9 "/chunk.bee94a217f36937c96aa.js" 10 ] 11 }, 12 "another.html": { 13 "entry": [ 14 "/another.js" 15 ], 16 "async": [] 17 } 18}
1{ 2 "bundle": [ 3 "/bundle.js", 4 "/chunk.2ee0460aecebfc572a43.js", 5 "/chunk.bee94a217f36937c96aa.js" 6 ], 7 "vendor": [ 8 "/vendor.js" 9 ], 10 "another": [ 11 "/another.js" 12 ] 13}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
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