require js is not supporting optional chaining at the bundling process (grunt bundler) javascript

on using javascript option chaining in one of the file of bundler, require js is breaking the bundling process

this is the require js for the desktop code where bundling is happening

In this file i am using optional chaining

Using grunt bundler

if the file involved in the minified file, then facing this issue

I want to make the build successfully bundling all the files with using es6 optional chaining features

I am using grunt bundler and require js to import and export files