umi-plugin-disable-devtool
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2681