@babel/plugin-transform-react-constant-elements
Advanced tools
Comparing version 7.0.0-beta.32 to 7.0.0-beta.33
{ | ||
"name": "@babel/plugin-transform-react-constant-elements", | ||
"version": "7.0.0-beta.32", | ||
"version": "7.0.0-beta.33", | ||
"description": "Treat React JSX elements as value types and hoist them to the highest scope", | ||
@@ -12,8 +12,8 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-constant-elements", | ||
"peerDependencies": { | ||
"@babel/core": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.32", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.33" | ||
} | ||
} |
@@ -65,3 +65,3 @@ # @babel/plugin-transform-react-constant-elements | ||
{ | ||
"plugins": ["@babel/transform-react-constant-elements"] | ||
"plugins": ["@babel/plugin-transform-react-constant-elements"] | ||
} | ||
@@ -84,3 +84,3 @@ ``` | ||
"plugins": [ | ||
["@babel/transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedMessage"]}], | ||
["@babel/plugin-transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedMessage"]}], | ||
] | ||
@@ -94,3 +94,3 @@ } | ||
```sh | ||
babel --plugins @babel/transform-react-constant-elements script.js | ||
babel --plugins @babel/plugin-transform-react-constant-elements script.js | ||
``` | ||
@@ -102,3 +102,3 @@ | ||
require("@babel/core").transform("code", { | ||
plugins: ["@babel/transform-react-constant-elements"] | ||
plugins: ["@babel/plugin-transform-react-constant-elements"] | ||
}); | ||
@@ -105,0 +105,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
4791