[data grid] All locales are present in production bundle when using pro/premium #16235
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
plan: Premium
Impact at least one Premium user
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Steps to reproduce
Steps:
npm i
followed bynpm run analyze
and examine the bundle analysisCurrent behavior
All locales are in the final bundle
Expected behavior
Only the imported locales are in the production bundle.
Context
I'm trying to reduce my bundle size.
Note that importing from
@mui/x-data-grid
(the free version) works as expected, but I don't think I have to install it when I'm using the premium one...Your environment
npx @mui/envinfo
Search keywords: datagrid premium locales
Order ID: 78178
The text was updated successfully, but these errors were encountered: