In production environment I can't see some grids

Hi there!

I have a problem with some grids in my application in production mode…

this is the production mode:

I use a simple code based on reflection to populate the grid, the code is the same for every grids in my project

I have problem just with this one and another one, but I don’t know how to figure it out

From the server I don’t have logs
In the developer console I get these errors:

Uncaught TypeError: Cannot read properties of undefined (reading 'initLazy') at Object.eval (eval at rE (FlowClient-DyX-lPTb.js:3:42787), <anonymous>:3:34) at rE (FlowClient-DyX-lPTb.js:3:42848) at Hg (FlowClient-DyX-lPTb.js:3:22648) at Km (FlowClient-DyX-lPTb.js:1:24968) at Gv (FlowClient-DyX-lPTb.js:1:17062) at z.eb (FlowClient-DyX-lPTb.js:3:70280) at Wr (FlowClient-DyX-lPTb.js:3:15095) at cE (FlowClient-DyX-lPTb.js:3:45208) at z.C (FlowClient-DyX-lPTb.js:3:70066) at zr (FlowClient-DyX-lPTb.js:1:41024) at z.db (FlowClient-DyX-lPTb.js:3:59790) at z.I (FlowClient-DyX-lPTb.js:3:64179) at FlowClient-DyX-lPTb.js:3:12426

Here is the class if you need it…

This might screw over the optimized bundle. Did you try adding @Uses(Grid.class) to your custom grid?