parse a bundle generated by browser-pack