@embeddable.com/sdk-react 3.2.1 → 3.2.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 +10 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1127,6 +1127,16 @@ async function runViteBuild(ctx, watch = null) {
|
|
|
1127
1127
|
sourcemap: true,
|
|
1128
1128
|
watch,
|
|
1129
1129
|
minify: !watch,
|
|
1130
|
+
rollupOptions: watch
|
|
1131
|
+
? {
|
|
1132
|
+
output: {
|
|
1133
|
+
sourcemapPathTransform: (relativeSourcePath, sourcemapPath) => {
|
|
1134
|
+
// will replace relative paths with absolute paths
|
|
1135
|
+
return path__namespace.resolve(path__namespace.dirname(sourcemapPath), relativeSourcePath);
|
|
1136
|
+
},
|
|
1137
|
+
},
|
|
1138
|
+
}
|
|
1139
|
+
: undefined,
|
|
1130
1140
|
lib: {
|
|
1131
1141
|
entry: path__namespace.resolve(ctx.client.rootDir, ctx["sdk-react"].outputOptions.componentsEntryPointFilename),
|
|
1132
1142
|
formats: ["es"],
|