Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alibaba avatar

Esa Deploy

  • 1 installs
  • 87 repo stars
  • Updated July 22, 2026
  • alibaba/opc-starter

esa-deploy is a Claude Code skill that deploys React/Vite applications to Alibaba Cloud ESA Pages using the esa-cli.

About

This skill automates deploying React and Vite frontend applications to Alibaba Cloud ESA Pages, an edge static-hosting platform. A developer uses it to build, deploy, configure custom domains and routes, and troubleshoot deployment issues via the esa-cli. It includes a pre-deploy checklist covering environment variables and build verification.

  • Deploys React/Vite apps to Alibaba Cloud ESA Pages
  • Automates build-and-deploy via the esa-cli
  • Covers custom domains, routes, and environment config

Esa Deploy by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,173 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

esa-deploy capabilities & compatibility

Requires an Alibaba Cloud account with AccessKey configured; env keys such as VITE_SUPABASE_URL/VITE_SUPABASE_ANON_KEY set before build

Capabilities
deploy · custom domain setup · cicd integration · env config
Use cases
devops · ci cd
Runs
Hosted SaaS
From the docs

What esa-deploy says it does

Deploys React/Vite applications to Alibaba Cloud ESA Pages.
SKILL.md
ESA Pages is Alibaba Cloud's edge computing platform for static site hosting with global CDN acceleration.
SKILL.md
npx skills add https://github.com/alibaba/opc-starter --skill esa-deploy

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars87
Last updatedJuly 22, 2026
Repositoryalibaba/opc-starter

What it does

Build and deploy a React/Vite app to Alibaba Cloud ESA Pages with the esa-cli.

Who is it for?

Deploying a React or Vite build to Alibaba Cloud ESA Pages edge hosting

Skip if: Deploying to platforms other than Alibaba Cloud ESA Pages

When should I use this skill?

You need to deploy a frontend app, manage deployments, or configure a domain on ESA Pages

What you get

The app is built and deployed to ESA Pages with domains, routes, and environment variables configured.

  • Deployed ESA Pages site URL
  • Configured custom domain and routes

By the numbers

  • 6-item pre-deploy checklist
  • Requires Node >= 20.x

Files

SKILL.mdMarkdownGitHub ↗

Alibaba Cloud ESA Pages Deployment

Overview

ESA Pages is Alibaba Cloud's edge computing platform for static site hosting with global CDN acceleration. This skill automates deployment workflows for React/Vite applications.

Prerequisites

1. ESA CLI installed: npm install esa-cli@latest -g 2. Alibaba Cloud account with AccessKey configured 3. Logged in: esa-cli login

Quick Start

# Navigate to app directory
cd app

# Build and deploy
npm run build && esa-cli deploy

ESA CLI Commands

Authentication

# Login to ESA (requires AccessKey)
esa-cli login

# Logout
esa-cli logout

Deployment

# Deploy current directory (requires esa.jsonc)
esa-cli deploy

# Deploy with explicit entry
esa-cli deploy ./dist

# View deployments
esa-cli deployments

Project Management

# Initialize new project
esa-cli init my-project

# View project info
esa-cli project

# Manage sites
esa-cli site

Domain Management

# Add custom domain
esa-cli domain add your-domain.com

# List domains
esa-cli domain list

# Remove domain
esa-cli domain remove your-domain.com

Route Management

# Add route
esa-cli route add -r your-domain.com -s <site-name>

# List routes
esa-cli route list

Local Development

# Start local dev server
esa-cli dev

# Dev with custom port
esa-cli dev --port 3000

Configuration

esa.jsonc

{
  "name": "your-app-name",
  "assets": {
    "directory": "./dist",
    "notFoundStrategy": "singlePageApplication"
  },
  "dev": {
    "port": 18080
  }
}

Environment Variables

Production environment variables should be set in .env.local before build:

# Required
VITE_SUPABASE_URL=https://xxx.supabase.co
VITE_SUPABASE_ANON_KEY=eyJxxx...

# Production settings
VITE_ENABLE_MSW=false
VITE_LOG_LEVEL=info

Deployment Checklist

  • [ ] Close MSW Mock (VITE_ENABLE_MSW=false)
  • [ ] Verify environment variables are correct
  • [ ] Run npm run build successfully
  • [ ] Check dist/ directory exists
  • [ ] Verify esa.jsonc configuration
  • [ ] Run esa-cli deploy

Common Issues

"esa.jsonc not found"

Ensure you're in the correct directory containing esa.jsonc:

cd app && esa-cli deploy

"Not logged in"

esa-cli login

Build fails

# Check Node version (>= 20.x)
node -v

# Clean install
rm -rf node_modules && npm install

# Rebuild
npm run build

Large bundle warning

Consider code splitting:

// vite.config.ts
export default defineConfig({
  build: {
    rollupOptions: {
      output: {
        manualChunks: {
          'react-vendor': ['react', 'react-dom'],
          'ui-vendor': ['@radix-ui/react-dialog', '@radix-ui/react-dropdown-menu'],
        },
      },
    },
  },
});

Deployment Output

After successful deployment:

╔═══════════════════════════════════════════════════════════════════════╗
║ 🚀 Deploy Success                                                     ║
║                                                                       ║
║ APP  your-app-name                                                    ║
║ URL  https://your-app.xxx.er.aliyun-esa.net                           ║
║                                                                       ║
║ TIP  Add a custom domain: esa-cli domain add <DOMAIN>                 ║
╚═══════════════════════════════════════════════════════════════════════╝

References

  • Environment Configuration references/environment-config.md
  • Custom Domain Setup references/custom-domain.md
  • CI/CD Integration references/cicd-integration.md

Related skills

FAQ

What platform does this deploy to?

Alibaba Cloud ESA Pages, an edge static-hosting platform with global CDN acceleration.

What CLI does it use?

The esa-cli, installed via npm install esa-cli@latest -g.

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.