broccoli-optimize-js
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -199,2 +199,8 @@ 'use strict'; | ||
// not sure if a module is empty of code if | ||
// we should still create a map with the original source? | ||
if (!generated.code || !generated.map.mappings) { | ||
return generated.code; | ||
} | ||
var chain = sorcery.loadSync(generated.file, { content: content, sourcemaps: sourcemaps }); | ||
@@ -201,0 +207,0 @@ var map = chain.apply({ includeContent: true }); |
{ | ||
"name": "broccoli-optimize-js", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "broccoli filter for optimize-js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
19786
179