Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

umi-plugin-disable-devtool

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umi-plugin-disable-devtool - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

dist/cjs/index.js

@@ -27,3 +27,3 @@ var __defProp = Object.defineProperty;

api.addHTMLHeadScripts(() => {
if (process.env.UMI_ENV != "dev") {
if (process.env.NODE_ENV != "development" && process.env.NODE_ENV != "dev") {
return [

@@ -30,0 +30,0 @@ {

@@ -5,3 +5,3 @@ {

"description": "umi项目生产环境禁用react-devtool(防止别人看到组件结构分析代码)",
"version": "1.0.0",
"version": "1.0.1",
"private": false,

@@ -8,0 +8,0 @@ "main": "dist/cjs/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc