function getWebpackHotData(moduleExports) {
  return {
    signature: getReactRefreshBoundarySignature(moduleExports),
    isReactRefreshBoundary: isReactRefreshBoundary(moduleExports),
  };
}
Creates a data object to be retained across refreshes.
This object should not transtively reference previous exports,
which can form infinite chain of objects across refreshes, which can pressure RAM.

@param {*} moduleExports A Webpack module exports object.
@returns {*} A React refresh boundary signature array.