babel-plugin-transform-react-es6-displayname
Advanced tools
Comparing version 1.0.0-beta1.1 to 1.0.0-beta1.2
module.exports = babelPluginTransformReactEs6ClassDisplayName; | ||
function babelPluginTransformReactEs6ClassDisplayName (babel) { | ||
var t = babel.types.t; | ||
return { | ||
visitor: { | ||
ClassDeclaration: function (path) { | ||
addDisplayName.call(path, t); | ||
addDisplayName.call(path, babel.types); | ||
} | ||
@@ -10,0 +9,0 @@ } |
{ | ||
"name": "babel-plugin-transform-react-es6-displayname", | ||
"version": "1.0.0-beta1.1", | ||
"version": "1.0.0-beta1.2", | ||
"description": "Babel transform to add the displayName property to component classes", | ||
@@ -5,0 +5,0 @@ "main": "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
3021
45