@embeddable.com/sdk-react 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -1081,6 +1081,14 @@ async function runViteBuild(ctx, watch = null) {
1081
1081
  minify: !watch,
1082
1082
  rollupOptions: watch
1083
1083
  ? {
1084
+ onLog(level, log, handler) {
1085
+ if (log.cause &&
1086
+ log.cause.message ===
1087
+ `Can't resolve original location of error.`) {
1088
+ return;
1089
+ }
1090
+ handler(level, log);
1091
+ },
1084
1092
  output: {
1085
1093
  sourcemapPathTransform: (relativeSourcePath, sourcemapPath) => {
1086
1094
  // will replace relative paths with absolute paths