@embeddable.com/sdk-react 3.4.0 → 3.5.1

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
@@ -611,6 +611,7 @@ const componentMetaSchema = zod.z
611
611
  .object({
612
612
  name: zod.z.string(),
613
613
  label: zod.z.string(),
614
+ category: zod.z.string().optional(),
614
615
  classNames: zod.z.string().array().min(1).optional(),
615
616
  defaultWidth: zod.z.number().optional(),
616
617
  defaultHeight: zod.z.number().optional(),
@@ -1076,8 +1077,10 @@ var generate = async (ctx) => {
1076
1077
  return result;
1077
1078
  };
1078
1079
  async function runViteBuild(ctx, watch = null) {
1080
+ var _a;
1079
1081
  return await vite__namespace.build({
1080
1082
  logLevel: !!watch ? "info" : "error",
1083
+ resolve: (_a = ctx.client.viteConfig) === null || _a === void 0 ? void 0 : _a.resolve,
1081
1084
  plugins: [
1082
1085
  viteReactPlugin(),
1083
1086
  extractComponentsConfigPlugin({