Provide a code snippet that produce the unexpected result.
Try to isolate the bug and make this snippet as simple, concise and self-explanatory as possible.
Expected behavior
What actually happens
info - Creating an optimized production build
Failed to compile.
Describe the bug
Couldn't compile my project with the last plugin version
How to reproduce
yarn run build
Babel configuration:
Reproduction:
Expected behavior
What actually happens
info - Creating an optimized production build Failed to compile.
./node_modules/next/dist/client/next.js E:\Workspace\Proyectos\react-nextjs-ecommerce-starter\node_modules\babel-plugin-i18next-extract\index.js:426 cache.originalTranslationFiles[filePath] = deepmerge__default['default'](cache.originalTranslationFiles[filePath] ?? {}, loadTranslationFile(exporter, config, filePath), { ^
SyntaxError: Unexpected token '?'
Your environment
Additional context
Previous version works perfectlly