code: function parseBrowserPackOutput(buf) {
    const m = /\n\/\/# sourceMappingURL=data:application\/json;charset=utf-8;base64,([^\s]+)\n?$/.exec(buf)
    if (!m) throw new Error('browser-pack did not insert source-map data URL in output: ' + buf.toString('utf-8'))
    const javascript = buf.slice(0, m.index)
    const sourceMap = JSON.parse(Buffer.from(m[1], 'base64'))
    return {
      javascript: javascript,
      sourceMap: sourceMap
    }
  }
docs: Returns { javascript: <Buffer>, sourceMap: <JSON> }