Hello @Pavel_Duchovny , one more import issue here ![]()
I am trying to use Sentry SDK in Realm functions. This package depends on tslib. But I cannot import tslib, Realm shows following error:
Failed to upload node_modules.zip: unknown: Unexpected token (15:36) 13 | // Force a commonjs resolve 14 | import { createRequire } from “module”; > 15 | const commonJSTSLib = createRequire(import.meta.url)(“…/…/tslib.js”); | ^ 16 | 17 | for (const key in commonJSTSLib) { 18 | if (commonJSTSLib.hasOwnProperty(key)) {
Does this mean that I better leave the idea to use Sentry SDK in Realm for now?