babel-plugin-lazy-require
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -137,3 +137,3 @@ 'use strict'; | ||
const binding = path.scope.bindings[path.node.name]; | ||
if (binding && bindings.scope !== this.requireScope) { | ||
if (binding && binding.scope !== this.requireScope) { | ||
return; | ||
@@ -140,0 +140,0 @@ } |
{ | ||
"name": "babel-plugin-lazy-require", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Transform CommonJS require statements into lazily evaluated imports", | ||
@@ -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
8505