New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

delete-annotation-dev

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delete-annotation-dev

## Webpack Loader webpack loader阶段的简易清除 debugger // 单行注释 及console打印

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

annotation

Webpack Loader

webpack loader阶段的简易清除 debugger // 单行注释 及console打印

使用方法

npm i -D delete-annotation-dev

webpack

{
    module: {
        rules: [
            {
                 test: /\.js$/,
                 loader: 'delete-annotation-dev'
            },
            // 也可以搭配其他loader转换后的js文件, 如ts
            // 注意:这是个人所写的简单loader 不确保兼容性效果,
            {
                test: /\.ts$/,
                loader: ['delete-annotation-dev', 'awesome-typescript-loader']
            }
        ]
    }
}

FAQs

Package last updated on 25 Apr 2019

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