Should EUI provide a dev&prod build, where dev enables additional warnings/messages. #4548
-
Prompted by #4504 (comment) and I have a 1.5 year-old note on my phone from someone asking about this as well at one of Elastic's all-hands. Should EUI provide a dev-specific build to corral the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Seems like a good idea to explore. Is there anything we could do with a dev build that would make it easier to test pre-release code in Kibana/downstream projects? I don't have any ideas, just seems like an opportunity. |
Beta Was this translation helpful? Give feedback.
-
@chandlerprall @thompsongl if you go that route of offering dev and prod builds for EUI (which I think it is a good idea), you can also apply https://www.npmjs.com/package/babel-plugin-transform-react-remove-prop-types for the prod bundles. On my texts it reduces ~1.1MB in size. |
Beta Was this translation helpful? Give feedback.
-
This is now a meta issue: #5537 |
Beta Was this translation helpful? Give feedback.
This is now a meta issue: #5537