Gathering detailed insights and metrics for @tanem/remove-source-map-url-webpack-plugin
Gathering detailed insights and metrics for @tanem/remove-source-map-url-webpack-plugin
npm install @tanem/remove-source-map-url-webpack-plugin
Typescript
Module System
Min. Node Version
Node Version
NPM Version
44.4
Supply Chain
46.2
Quality
65.3
Maintenance
50
Vulnerability
96.7
License
TypeScript (74.57%)
JavaScript (25.43%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
20,644
Last Day
1
Last Week
3
Last Month
41
Last Year
6,761
MIT License
138 Commits
2 Watchers
3 Branches
2 Contributors
Updated on Jan 28, 2023
Latest Version
1.0.13
Package Id
@tanem/remove-source-map-url-webpack-plugin@1.0.13
Unpacked Size
22.34 kB
Size
5.08 kB
File Count
10
NPM Version
6.13.4
Node Version
12.13.1
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-66.7%
3
Compared to previous week
Last Month
36.7%
41
Compared to previous month
Last Year
-30.7%
6,761
Compared to previous year
1
21
A webpack plugin that removes source map URLs.
You want to send bundled files plus their external source maps to third-party monitoring services, but don't want to expose source maps to browser development tools.
This webpack plugin removes source map URLs from files in the output path when the build is done
.
💡Using
devtool: 'hidden-source-map'
is a simpler way of achieving the same result. Try that before reaching for this plugin!
1const RemoveSourceMapUrlWebpackPlugin = require('@tanem/remove-source-map-url-webpack-plugin') 2const path = require('path') 3 4module.exports = { 5 mode: 'development', 6 entry: './foo.js', 7 output: { 8 path: path.resolve(__dirname, 'dist'), 9 filename: 'foo.bundle.js' 10 }, 11 plugins: [new RemoveSourceMapUrlWebpackPlugin()] 12}
Arguments
options
- Optional An object containing the optional arguments defined below. Defaults to {}
.
fileNameRegex
- Optional The regex used to filter files found within the output path. Defaults to /\.(js|css)$/
.Example
1const RemoveSourceMapUrlWebpackPlugin = require('@tanem/remove-source-map-url-webpack-plugin') 2const path = require('path') 3 4module.exports = { 5 mode: 'development', 6 entry: './foo.js', 7 output: { 8 path: path.resolve(__dirname, 'dist'), 9 filename: 'foo.bundle.js' 10 }, 11 plugins: [new RemoveSourceMapUrlWebpackPlugin({ fileNameRegex: /\.js$/ })] 12}
⚠️This library requires Node.js 8 or greater.
$ npm install @tanem/remove-source-map-url-webpack-plugin --save-dev
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/29 approved changesets -- score normalized to 0
Reason
project is archived
Details
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
67 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