@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.esm.js CHANGED
@@ -585,6 +585,7 @@ const componentMetaSchema = z
585
585
  .object({
586
586
  name: z.string(),
587
587
  label: z.string(),
588
+ category: z.string().optional(),
588
589
  classNames: z.string().array().min(1).optional(),
589
590
  defaultWidth: z.number().optional(),
590
591
  defaultHeight: z.number().optional(),
@@ -1050,8 +1051,10 @@ var generate = async (ctx) => {
1050
1051
  return result;
1051
1052
  };
1052
1053
  async function runViteBuild(ctx, watch = null) {
1054
+ var _a;
1053
1055
  return await vite.build({
1054
1056
  logLevel: !!watch ? "info" : "error",
1057
+ resolve: (_a = ctx.client.viteConfig) === null || _a === void 0 ? void 0 : _a.resolve,
1055
1058
  plugins: [
1056
1059
  viteReactPlugin(),
1057
1060
  extractComponentsConfigPlugin({