Skip to content

Commit 3f0b059

Browse files
macbookmacbook
authored andcommitted
bug fixed
1 parent ec7e884 commit 3f0b059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function(content, map) {
1414
var root = query.root;
1515
var moduleMode = query.modules || query.module;
1616

17-
if(typeof map !== "string") {
17+
if(map && typeof map !== "string") {
1818
map = JSON.stringify(map);
1919
}
2020

0 commit comments

Comments
 (0)