🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More
Socket
Book a DemoInstallSign in
Socket

sinamfe-marauder-debug

Package Overview
Dependencies
Maintainers
5
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinamfe-marauder-debug

被marauder引用,用于生成 debug.js 和 debug.css 的插件

latest
npmnpm
Version
1.2.0
Version published
Maintainers
5
Created
Source

起因

利用sourcemap在调试大工程时遇到如下问题:

1.浏览器问题导致调试的时候代码行或者代码块对不上

2.浏览器问题导致的变量监控和sourcemap原有变量名不一致

3.大脚本导致format浏览器卡死或者无法format的问题

ok 回归原生调试方式

sinamfe-marauder-debug

用于不使用sourcemap ,需要输出debug.js和debug.css进行调试的同学。

安装

npm install sinamfe-marauder-debug --save-dev

作为webpack-marauder的plugin来使用. 默认已经集成在webpack-marauder插件中

使用方法:

const marauderDebug = require('sinamfe-marauder-debug');

const webpackConfig = {
 plugins: [
      new marauderDebug()]
 };

FAQs

Package last updated on 14 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts