Installations
npm install delete-sourcemap-webpack-plugin-stzhang
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
10.17.0
NPM Version
6.11.3
Score
67.3
Supply Chain
71.7
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
stuartZhang
Download Statistics
Total Downloads
21,524
Last Day
1
Last Week
2
Last Month
57
Last Year
1,159
GitHub Statistics
1 Stars
12 Commits
1 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Mar 15, 2021
Bundle Size
37.62 kB
Minified
11.08 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.0.2
Package Id
delete-sourcemap-webpack-plugin-stzhang@1.0.2
Unpacked Size
4.40 kB
Size
2.00 kB
File Count
6
NPM Version
6.11.3
Node Version
10.17.0
Total Downloads
Cumulative downloads
Total Downloads
21,524
Last Day
0%
1
Compared to previous day
Last Week
-80%
2
Compared to previous week
Last Month
128%
57
Compared to previous month
Last Year
-14%
1,159
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
2
delete-sourcemap-webpack-plugin-stzhang
与sentry.iojavascript sdk
配套使用。在向sentry.io上传source-map
文件之后,再删除source-map
文件与源文件内对source-map
文件的引用注释指令。而不是,直接从webpack
配置彻底关闭source-map
生成。
安装
npm i -D delete-sourcemap-webpack-plugin-stzhang
使用
1// webpack.config.js 2const DeleteSourceMapWebpackPlugin = require('delete-sourcemap-webpack-plugin-stzhang') 3 4module.exports = { 5 // ... 6 plugins: [ 7 new DeleteSourceMapWebpackPlugin() 8 ], 9 // ... 10}
解决缺陷
支持去掉css
文件的source-map
当遇到内联source-map
时,不再报fs.unlink()
的删除文件失败错误
调用webpack 4
的Plugin API
来接入插件

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/12 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 SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
27 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-6chw-6frg-f759
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw
- Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2
- Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w
- Warn: Project is vulnerable to: GHSA-434g-2637-qmqr
- Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m
- Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw
- Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p
- Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747
- Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh
- Warn: Project is vulnerable to: GHSA-3gx7-xhv7-5mx3
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq
Score
1.3
/10
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