@ramses-superapp/cli
v0.4.0
Published
The `ramses-cli` is the command-line interface for building and serving Ramses mini-programs. It uses Webpack internally to bundle your `.rxml`, `.rxss`, and `.js` files into a single `bundle.js` that can be executed by a native Super App.
Readme
Ramses CLI
The ramses-cli is the command-line interface for building and serving Ramses mini-programs. It uses Webpack internally to bundle your .rxml, .rxss, and .js files into a single bundle.js that can be executed by a native Super App.
Features
- Compiler: Understands custom
.rxmland.rxssfile types via custom Webpack loaders. - Development Server: Provides a state-preserving, hot-reloading development experience.
- Zero Config: Designed to work out of the box on any standard Ramses project structure.
Commands
ramses serve
Starts a local development server on http://localhost:8080. The server watches your project files for changes and automatically recompiles and pushes updates to any connected Super App.
Usage:
ramses serveramses build
Creates a production-optimized bundle.js file in your project's /dist directory. This bundle is suitable for shipping with your Super App.
Usage:
ramses build