als-require
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -13,3 +13,3 @@ const UglifyJS = require("uglify-js"); | ||
if (_requireClassMinified === null) { | ||
_requireClassMinified = UglifyJS.minify(requireClass).code | ||
_requireClassMinified = UglifyJS.minify(requireClass()).code | ||
} | ||
@@ -44,3 +44,3 @@ return _requireClassMinified | ||
let requireCode = '' | ||
if (includeRequire) requireCode = minified ? requireClassMinified() : requireClass() + '\n' | ||
if (includeRequire) requireCode = (minified ? requireClassMinified() : requireClass()) + '\n' | ||
return requireCode + bundle | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "als-require", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
40175