Error rendering component

Unknown plugin "module-resolver" specified in "base" at 0, attempted to resolve relative to "/home/circleci/wellcomecollection.org/common/views/components/Label"

// @flow
import {font, spacing} from '../../../utils/classnames';

export type Props = {|
  label: {
    url: ?string,
    text: string
  }
|}

const Label = ({label}: Props) => {
  const HtmlTag = label.url ? 'a' : 'span';

  return (
    <HtmlTag
      href={label.url}
      className={`
      line-height-1
      ${label.url ? 'plain-link font-white bg-green bg-hover-black' : 'font-black bg-yellow'}
      ${font({s: 'HNM5'})}
      ${spacing({s: 1}, {padding: ['top', 'bottom', 'left', 'right']})}
    `} style={{display: 'block', whiteSpace: 'nowrap'}}>
      {label.text}
    </HtmlTag>
  );
};

export default Label;
/* No context defined for this component. */

There are no notes for this item.