I am trying to preview an uploaded document in Content Explorer but using RequireJS in my project. When I remove the RequireJS library the preview works fine moreover when I load RequireJS the preview shows below error:
Cannot read properties of undefined (reading ‘GlobalWorkerOptions’)
Can we preview an uploaded document with RequireJS loaded on the same page?