Closed lling1105 closed 4 months ago
If the datagrid works without the plugin, then the problem is the plugin and you should be filing the issue with them, not here. Please confirm if the build works well without the plugin.
The issue has been inactive for 7 days and has been automatically closed.
Steps to reproduce
Link to live example: (required)
Steps: 1. 2. 3.
Current behavior
vite dev mode everything is working well, but vite build with vite-plugin-javascript-obfuscator plugin, everything about mui is working well, only the DataGrid(@mui/x-data-grid) not working, console error shows "TypeError: e.current.state.rows.dataRowIds.at is not a function"
vite config as below
DataGrid codes as below
Expected behavior
vite build with vite-plugin-javascript-obfuscator to production working well.
Context
No response
Your environment
"@mui/x-data-grid": "^7.3.2", "vite": "^4.2.0", "vite-plugin-javascript-obfuscator": "^3.1.0"
Search keywords: e.current.state.rows.dataRowIds.at