wext-manifest-loader
Advanced tools
Comparing version 2.4.0 to 2.4.1
{ | ||
"name": "wext-manifest-loader", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Webpack loader that lets you specify `manifest.json` properties to appear only in specific browsers.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -194,3 +194,3 @@ <h1 align="center">wext-manifest-loader</h1> | ||
### 2. How can I conditionally set keys based on enviroment | ||
### 2. How can I conditionally set keys based on environment | ||
@@ -201,6 +201,8 @@ ```js | ||
"__prod__name": "NameInProduction", | ||
"__chrome|firefox|dev__description": "DescriptionInDevelopmentForSetOfBrowsers", | ||
"__chrome|firefox|prod__description": "DescriptionInProductionForSetOfBrowsers" | ||
} | ||
``` | ||
if the **NODE_ENV** is `production` this compiles to: | ||
if the **NODE_ENV** is `production` and the **TARGET_BROWSER** is `chrome` this compiles to: | ||
@@ -210,2 +212,3 @@ ```js | ||
"name": "NameInProduction", | ||
"description": "DescriptionInProductionForSetOfBrowsers" | ||
} | ||
@@ -219,2 +222,3 @@ ``` | ||
"name": "NameInDevelopment", | ||
"description": "DescriptionInDevelopmentForSetOfBrowsers" | ||
} | ||
@@ -221,0 +225,0 @@ ``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23116
246
0