UNPKG

relysjs

Version:

Reactive Web app server focusing on MPAs with a simple server route & browser build api...uses Bunjs, Elysia, ESBuild, rmemo, & ctx-core

7 lines (6 loc) 258 B
import { is_entry_file_ } from 'ctx-core/fs' import { relysjs_browser__build, relysjs_server__build } from '../../server/build/index.js' if (is_entry_file_(import.meta.url, process.argv[1])) { await relysjs_server__build() await relysjs_browser__build() }