I'm building the Next.js project and making the app the same as React.js. It's working well in debugging mode, but after building the app, it's showing this error on:
import { PhotoEditorSDKUI, Tool, UIEvent } from 'photoeditorsdk';
https://www.npmjs.com/package/photoeditorsdk
IMG.LY Product: PE.SDK Platform: Web Web Wrapper: React JS SDK Version: 5.14.0 Devices OS: Win 10
error output: 467-40c81e1cf973201c8664.js:1 ReferenceError: Fo is not defined at Module.78424 (203-ccd5608d077546a0d990.js:305) at n (webpack-b19e12b5ec856c13b0c3.js:1) at Object.33467 (467-40c81e1cf973201c8664.js:1) at n (webpack-b19e12b5ec856c13b0c3.js:1) at Object.63862 (467-40c81e1cf973201c8664.js:1) at n (webpack-b19e12b5ec856c13b0c3.js:1) at Module.48624 (index-597622c10c04ead06da2.js:1) at n (webpack-b19e12b5ec856c13b0c3.js:1) at index-597622c10c04ead06da2.js:1 at main-5880b1d57202aca5456a.js:1 33467 @ 467-40c81e1cf973201c8664.js:1 n @ webpack-b19e12b5ec856c13b0c3.js:1 63862 @ 467-40c81e1cf973201c8664.js:1 n @ webpack-b19e12b5ec856c13b0c3.js:1 48624 @ index-597622c10c04ead06da2.js:1 n @ webpack-b19e12b5ec856c13b0c3.js:1 (anonymous) @ index-597622c10c04ead06da2.js:1 (anonymous) @ main-5880b1d57202aca5456a.js:1 Promise.then (async) onEntrypoint @ main-5880b1d57202aca5456a.js:1 Y @ main-5880b1d57202aca5456a.js:1 27950 @ index-597622c10c04ead06da2.js:1 n @ webpack-b19e12b5ec856c13b0c3.js:1 (anonymous) @ index-597622c10c04ead06da2.js:1 n.O @ webpack-b19e12b5ec856c13b0c3.js:1 (anonymous) @ index-597622c10c04ead06da2.js:1 t @ webpack-b19e12b5ec856c13b0c3.js:1 (anonymous) @ index-597622c10c04ead06da2.js:1