@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 +8 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1107,6 +1107,14 @@ async function runViteBuild(ctx, watch = null) {
|
|
|
1107
1107
|
minify: !watch,
|
|
1108
1108
|
rollupOptions: watch
|
|
1109
1109
|
? {
|
|
1110
|
+
onLog(level, log, handler) {
|
|
1111
|
+
if (log.cause &&
|
|
1112
|
+
log.cause.message ===
|
|
1113
|
+
`Can't resolve original location of error.`) {
|
|
1114
|
+
return;
|
|
1115
|
+
}
|
|
1116
|
+
handler(level, log);
|
|
1117
|
+
},
|
|
1110
1118
|
output: {
|
|
1111
1119
|
sourcemapPathTransform: (relativeSourcePath, sourcemapPath) => {
|
|
1112
1120
|
// will replace relative paths with absolute paths
|