seia.js
Version:
Lightweight SSR framework for React Server Components
15 lines (14 loc) • 432 B
JavaScript
import { build } from '../build.js';
import { SeiaCommand } from '../command.js';
export default class Build extends SeiaCommand {
static args = {};
static description = 'Bundle the project along with SSR and RSC assets.';
static examples = [
'<%= config.bin %> <%= command.id %>'
];
static flags = {};
async run() {
await this.parse(Build);
await build(this.resolvedConfig);
}
}