Closed gitramro closed 2 weeks ago
@LukasTy seems like a babel configuration issue.
@gitramro where does your file sit in your folders? Does it properly get picked up by babel?
@michelengelen Yes, it indeed must be a problem with babel/webpack.
@gitramro Are you using webpack
? If yes, then could you check this preview documentation section (it is not released yet)?
If not, try upgrading babel configuration first as it seems "slightly" old. 🙈
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
I'm migrating from material ui core to muiv5, but im getting an issue with one of the date pickers of muix, Im getting a compile error:
Ive checked my .babelrc file and I added the missing plugin (@babel/plugin-transform-nullish-coalescing-operator) but still its not working
this is my package.json
this is what im trying to run with no luck
however, using the old one this way, it works
Am I missing another plugin or some misconfiguration of Babel, maybe there is a version issue?
Expected behavior
No response
Context
Migrate material ui v4 to muiv5
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: babel date pickers