             version: packagejson.version
             hash_func: @hash_func
             modules: modules
+
+        if @bundle
+            filepath = path.resolve(@root, @bundle)
+            relative = @_relativate(filepath)
+            url = @_host_path(relative)
+
+            bundle = 
+                hash: @calc_hash(@_bundle_content)
+                url: url
+
+            @_manifest_content.bundle = bundle
 
         if @coding_func?
             @_manifest_content.decoder_func = @coding_func.name

        @_modules = (@_by_path[mpath] for mpath in order)

    _encode: ->
        @_bundle_content = []
        if @coding_func?
            paths = {}
            for module in @_modules

                source = fs.readFileSync(module.path)
                output = @encode(source, module)
                if @bundle
                    _contents.push(output)
                @_write_file(destination, output)
                module.hash = @calc_hash(output)
                module.size = output.length
