                 })
             else
                 rawCode
+    if code[code.length - 1] != "\n"
+        code += "\n"
     mod = {}
     mods.push(mod)
     mod.code = code

            // ***** (((

            #{mod.code}

            // ***** ))) file end


            },
            nameIndexes: #{JSON.stringify(mod.nameIndexes)},
            result: initialModResult_386389655257694535
            }

        """
    ).join(",\n")
    bundleStr = """
        // This wrapper is to prevent global variable assignments. It's not to
        // prevent naming conflicts ("386389655257694535" already does), but to

    modsBodyStr = mods.map((mod) ->
        info = if informative then path.relative(process.cwd(), mod.rawFilePath) + " " else ""
        """
            {\
            fun: function(exports, module, require) {


