Documentation

Everything you need to know about building, exporting, and deploying your React applications with Reactly.

Introduction

Reactly is a high-performance build engine designed to take your source code and transform it into production-ready static assets. We handle the complexity of Node.js environments, dependency management, and build optimization so you can focus on writing code.

Build Pipeline

Learn how our automated pipeline detects your framework and optimizes the build output.

CLI Guide

Deep dive into our command-line tool for local-to-cloud build triggers.

Quickstart

Get your project built in under 60 seconds:

# Install the CLI

npm install -g @reactly/cli

# Authenticate

reactly auth login

# Trigger a build

reactly build .

Environment Variables

You can define environment variables during the build process to inject secrets or configuration into your production bundle.

Format Example

NEXT_PUBLIC_API_URL=https://api.myapp.com
STRIPE_KEY=pk_test_...
ANALYTICS_ID=UA-000000-1

Static Exports

Reactly automatically detects your framework's static export command (e.g., `next export` or `vite build`) and bundles the resulting assets into a production-ready ZIP file.

Framework Guides

Next.js

detected via next.config.js

Vite

detected via vite.config.ts

Vue.js

detected via vue.config.js

Svelte

detected via svelte.config.js

GitHub Pages

Deploy your Reactly builds to GitHub Pages by pushing the contents of your `dist` folder to the `gh-pages` branch. Reactly handles the base path configuration automatically for most frameworks.

Troubleshooting

Build Failed: ENOENT

Usually means a file or asset is missing from the ZIP. Reactly will attempt to auto-generate placeholders for missing images to prevent build crashes.

Warning: Node Version Mismatch

Reactly defaults to Node 20.x. If your project requires a specific version, include an `.nvmrc` file in your root.