Uncaught SyntaxError: Unexpected token 'export' at ProductItem.js

Hi @rayrutjes can you help me on this issue? I got all data in autocomplete except product details as this export function throwing error on my wordpress environment. I did creating the json file and added “type: module”, renamed its extension as .mjs, and also tried adding ‘module’ in script tag