Gathering detailed insights and metrics for content-replace-webpack-plugin
Gathering detailed insights and metrics for content-replace-webpack-plugin
Gathering detailed insights and metrics for content-replace-webpack-plugin
Gathering detailed insights and metrics for content-replace-webpack-plugin
mx-webpack-content-replace-plugin
webpack plugin: Replace content in build file in webpack workflow
contenthash-replace-webpack-plugin
Webpack plugin for transforming bundle references in your html files with content hash formatted names.
webpack-content-replacer-plugin
Replace content in file in webpack workflow
replace-content-webpack-plugin
replace content by parttens in webpack build files
simple and efficient Webpack plugin that replace assets content when webpack emit files
npm install content-replace-webpack-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
9 Stars
8 Commits
4 Watchers
6 Branches
1 Contributors
Updated on Mar 19, 2025
Latest Version
1.0.0
Package Id
content-replace-webpack-plugin@1.0.0
Unpacked Size
7.83 kB
Size
2.98 kB
File Count
11
NPM Version
6.14.6
Node Version
10.22.1
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
simple and efficient plugin that replace assets content when webpack emit files
1npm install content-replace-webpack-plugin --save--dev
add plugin in your webpack.config.js
1var ContentReplacePlugin = require('content-replace-webpack-plugin') 2 3module.exports = { 4 entry:{ 5 index:"./index.js" 6 }, 7 module:{ 8 loaders:[ 9 ... 10 ] 11 }, 12 output:{ 13 path:'./dist', 14 filename:'[name].min.js' 15 }, 16 plugins:[ 17 new ContentReplacePlugin({ 18 external: ['path/to/other/file'], // other files which not in webpack assets 19 chunks: ['index'], 20 rules: { 21 '.js': content => content.replace('/foo', '/bar') 22 } 23 }) 24 ] 25}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
Found 0/8 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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
73 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