6to5-loader
Advanced tools
Comparing version 0.1.3 to 0.2.0
@@ -12,11 +12,11 @@ var loaderUtils = require('loader-utils'), | ||
options.sourceMap = true; | ||
options.filename = loaderUtils.getRemainingRequest(this); | ||
result = to5.transform(source, options); | ||
code = result.code; | ||
map = result.map; | ||
map.sourcesContent = [source]; | ||
if (result.map) { | ||
map = result.map; | ||
} | ||
this.callback(null, code, map); | ||
}; |
{ | ||
"name": "6to5-loader", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "6t05 module loader for webpack", | ||
@@ -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
2864
40