New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

build-plugin-remove-console

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-plugin-remove-console

build-scripts 插件, 用于构建时剔除console.*调用

1.0.0
latest
npm
Version published
Maintainers
1
Created
Source

build-plugin-remove-console

build-scripts 插件,用于构建时移除代码中的 console.* 调用。

使用

"plugins": [
  "build-plugin-component",
  "build-plugin-remove-console"
]

在项目目录的build.json中配置该插件。

build.json 配置项

removeConsoleExcludeMethod

数组,默认值为 []。用于构建时移除所有 console.* 调用,可通过该配置项设置免于移除的 console.* 方法。

Keywords

build-scripts

FAQs

Package last updated on 13 Sep 2021

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