#!/bin/bash

PLUGIN="resales.v1"
ZIP_NAME="$PLUGIN.zip"

echo "Eliminando ZIP anterior..."
rm -f "$ZIP_NAME"

echo "Creando ZIP limpio..."
zip -r "$ZIP_NAME" . \
    -x "build/*" \
    -x "*.zip" \
    -x "*.git/*" \
    -x "node_modules/*" \
    -x "*.DS_Store"

echo "ZIP generado: $ZIP_NAME"
