const emotionHash = require('@emotion/hash')

let cache = {}

function hash (string) {
  if (!cache[string]) {
    cache[string] = emotionHash(string)
  }

  return cache[string]
}

module.exports = hash

const emotionHash = require('@emotion/hash/dist/hash.cjs.js')

let cache = {}

function hash (string) {
  if (!cache[string]) {
    cache[string] = emotionHash(string)
  }

  return cache[string]
}

module.exports = hash

Fix emotion import assuming ES2015 imports intead of commonjs with webpack
Fix emotion import assuming ES2015 imports intead of commonjs with webpack
