eui
eui copied to clipboard
Development- and production-specific builds
#4548 started the discussion (resounding positive reaction) and #5527 began the exploration, but we want to generate proper builds for development and production environments.
Considerations:
kbn-ui-shared-deps- Uses the production version (based on
process.env) without exception - What helpful development features would be lost?
- Work with Kibana ops to loosen the restrictions
- Uses the production version (based on
- Console
- Deprecation warnings
propTypes- Removable for prod
- #4101 points toward improvement for dev
babel/runtime- Introduces a new [peer]Dep for consumers
- Require for dev, also?
hey @thompsongl are you also considering targeting the transpilation to ES2020 or ES2021 only code? It looks like that all our supported browsers are supported https://kangax.github.io/compat-table/es2016plus/
This will definitely reduce the bundle size, removing polyfills for spread operators etc
WDYT?
are you also considering targeting the transpilation to ES2020 or ES2021 only code?
Yes, we'll evaluate browser support, etc. when making changes 👍
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.