// Meta data is stored on the html element
var html = document.getElementsByTagName('html')[0];

// A helper to grab our meta data
function getData(name) {
  name = `data-${name}`;
  return html.hasAttribute(name) ? html.getAttribute(name) : undefined;
}

// Access, then export, our data
export const ENV = getData('env');
export const VERSION = getData('version');
export const SHA = getData('sha');

export default {ENV, VERSION, SHA};

// Meta data is stored on the html element
var html = document.getElementsByTagName('html')[0];

// A helper to grab our meta data
function getData(name) {
  name = `data-${name}`;
  return html.hasAttribute(name) ? html.getAttribute(name) : undefined;
}

export default {ENV, VERSION, SHA};

Remove named exports for CJS interop.
Remove named exports for CJS interop.
