design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Use production build of React for live Storybook deployment

Open thyhjwb6 opened this issue 3 years ago • 2 comments

Created from #2495

Our live version is not using the production build of React.

Screenshot 2021-07-22 at 09 57 38

thyhjwb6 avatar Jul 22 '21 08:07 thyhjwb6

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar Sep 27 '21 01:09 github-actions[bot]

Looks like the production version is being used to me as profiling is unavailable:

Local:

image

https://storybook.design-system.digital.mod.uk:

image

A grep of the bundle also confirms react.production.min.js is included (and not react.development.js).

(The dev tools still otherwise mostly work in a prod build.)

jpveooys avatar Mar 30 '22 14:03 jpveooys