babel-plugin-globals
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -75,3 +75,9 @@ 'use strict'; | ||
assertFilenameRequired(filename); | ||
filenameNoExtCache = filename.substr(0, filename.length - 3); | ||
var extension = '.js'; | ||
filenameNoExtCache = filename; | ||
do { | ||
filenameNoExtCache = path.basename(filenameNoExtCache, extension); | ||
extension = path.extname(filenameNoExtCache); | ||
} while (extension !== ''); | ||
} | ||
@@ -78,0 +84,0 @@ return filenameNoExtCache; |
{ | ||
"name": "babel-plugin-globals", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A babel plugin that exposes ES6 modules to global variables.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
9199
181