equinor / cc-components

Components and apps for CC.
MIT License
4 stars 0 forks source link

🐛: Workorder : Code not minified? #1026

Open Gustav-Eikaas opened 1 month ago

Gustav-Eikaas commented 1 month ago

Description

image React devtools extension complaining that this app ships both a production and a development build of react. Seems to only be workorder that does this. Unsure why. Needs investigating🔎

Reproduce

  1. Install the react devtools chromium extension
  2. Load workorder application in production.
  3. The extension turns red and a warning is issued when pressing it.

Expected behavior

Extensions should not indicate that the development version of react is present in production.

note: This may be a bug in the extension caused by our single spa architecture. But if it is its weird how inconsistently consistent it is.