By default prop-types do not run in production for a react app. I realize this is a good thing to improve performance. However, we have a [Storybook](https://www.npmjs.com/package/@storybook/addon-docs) that we have built and are deploying it to a static site. Storybook has an addon called Docs that detects the prop-types for components and creates a table of the prop-types for easy to read documentation. 

When running the storybook locally, everything works perfectly. The prop-types are detected and this table is generated.

```
SpinningLoader.propTypes = {
  color: PropTypes.string,
  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};

```

[![enter image description here](https://i.stack.imgur.com/2J5Bf.png)](https://i.stack.imgur.com/2J5Bf.png)

However, since prop-types are disabled in production by default. They cannot be detected when the storybook is deployed to a static site.

[![enter image description here](https://i.stack.imgur.com/bViLC.png)](https://i.stack.imgur.com/bViLC.png)

Is there a way to enable prop-types in production? Or some other workaround?