@embeddable.com/sdk-react 3.5.1 → 3.6.0-next.0

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.js CHANGED
@@ -1058,7 +1058,7 @@ const usageValidator = async (directory) => {
1058
1058
  };
1059
1059
 
1060
1060
  const oraP = import('ora');
1061
- const EMB_FILE_REGEX = /^(.*)(?<!\.type|\.options)\.emb\.[jt]s$/;
1061
+ const EMB_FILE_REGEX = /(DataGridWrapper)(?<!\.type|\.options)\.emb\.[jt]s$/;
1062
1062
  var generate = async (ctx) => {
1063
1063
  var _a;
1064
1064
  const ora = (await oraP).default;
@@ -1107,6 +1107,7 @@ async function runViteBuild(ctx, watch = null) {
1107
1107
  minify: !watch,
1108
1108
  rollupOptions: watch
1109
1109
  ? {
1110
+ ...ctx.client.rollupOptions,
1110
1111
  output: {
1111
1112
  sourcemapPathTransform: (relativeSourcePath, sourcemapPath) => {
1112
1113
  // will replace relative paths with absolute paths
@@ -1114,7 +1115,7 @@ async function runViteBuild(ctx, watch = null) {
1114
1115
  },
1115
1116
  },
1116
1117
  }
1117
- : undefined,
1118
+ : ctx.client.rollupOptions,
1118
1119
  lib: {
1119
1120
  entry: path__namespace.resolve(ctx.client.buildDir, ctx["sdk-react"].outputOptions.componentsEntryPointFilename),
1120
1121
  formats: ["es"],