Gathering detailed insights and metrics for @rbarilani/remove-source-map-url-webpack-plugin
Gathering detailed insights and metrics for @rbarilani/remove-source-map-url-webpack-plugin
Gathering detailed insights and metrics for @rbarilani/remove-source-map-url-webpack-plugin
Gathering detailed insights and metrics for @rbarilani/remove-source-map-url-webpack-plugin
npm install @rbarilani/remove-source-map-url-webpack-plugin
Typescript
Module System
Node Version
NPM Version
56.6
Supply Chain
57.4
Quality
74.6
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,220,582
Last Day
7
Last Week
585
Last Month
2,048
Last Year
313,568
MIT License
11 Stars
33 Commits
4 Forks
2 Watchers
17 Branches
2 Contributors
Updated on Aug 10, 2022
Minified
Minified + Gzipped
Latest Version
1.1.0
Package Id
@rbarilani/remove-source-map-url-webpack-plugin@1.1.0
Unpacked Size
7.74 kB
Size
3.17 kB
File Count
5
NPM Version
6.14.8
Node Version
12.16.3
Cumulative downloads
Total Downloads
Last Day
-58.8%
7
Compared to previous day
Last Week
-5%
585
Compared to previous week
Last Month
41%
2,048
Compared to previous month
Last Year
10.9%
313,568
Compared to previous year
This is a webpack plugin that removes # sourceMappingURL
after compilation.
It's a quick fix for wrong # sourceMappingURL
comments left in vendor source code when compiling without minification (causing 404 responses from the server).
You can install the plugin via npm or yarn, pick the right version based on the webpack version used in your project.
Webpack 4
For webpack 4 install the 0.x version
1$ npm install @rbarilani/remove-source-map-url-webpack-plugin@0.x --save-dev
Webpack 5
For webpack 5 install the latest version
1$ npm install @rbarilani/remove-source-map-url-webpack-plugin@latest --save-dev
1var RemoveSourceMapUrlWebpackPlugin = require('@rbarilani/remove-source-map-url-webpack-plugin'); 2var webpackConfig = { 3 entry: 'index.js', 4 output: { 5 path: 'dist', 6 filename: 'index_bundle.js' 7 }, 8 plugins: [ 9 new RemoveSourceMapUrlWebpackPlugin({ 10 test: /index_bundle\.js$/ 11 }) 12 ] 13};
test
: A condition that must be met to include or exclude the assets that should be processed (default: /\.js($|\?)/i
). The allowed types for a condition are:
String
- A string for exact matching with the file name of the assetRegExp
- A regular expression which will be tested against the file name of the assetFunction(fileName:string):bool
- A function that will be invoked with the file name of the asset as the argument and must return true
to include the asset or false
to exclude itYou're are welcome to contribute to this project by submitting issues and/or pull requests.
npm test
- run test suitenpm run test:coverage
- run test suite and generate coverage reportsnpm run test:build
- build the test mock project with webpack-clinpm run lint
- lint the code base with eslintnpm run lint:fix
- try to fix as many linting issues as possible (the command will also format the code)npm run format
- format code following project conventionsnpm run coveralls
- send coverage report to https://coveralls.ioThis project is licensed under MIT.
No vulnerabilities found.
Reason
no binaries found in the repo
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 2/24 approved changesets -- 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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-10
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