New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@arnaud-barre/rds

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arnaud-barre/rds

React Development Server: A modern CRA inspired by Vite and powered by SWC, esbuild & Lightning CSS

0.7.12
Source
npm
Version published
Weekly downloads
40
14.29%
Maintainers
0
Weekly downloads
 
Created
Source

RDS: React Development Server npm

A modern CRA inspired by Vite using SWC for Fast Refresh, Lightning CSS for CSS in dev and esbuild for bundling.

CSS is handled via downwind, a bundler-first Tailwind implementation.

Create a new project

bunx degit ArnaudBarre/rds/template my-app && cd my-app && bun i && bun run dev

CLI

  • rds (start|dev) [--host] [--open] [--force] [--port <number>]: Starts the dev server
  • rds build [--meta]: Builds the app for production
  • rds (serve|preview) [--host] [--open] [--port <number>]: Serves the production build

Defaults

  • index.html should be in /public without referencing any source file.
  • src/index.tsx is the App entry point

Configuration

The (optional) configuration file should be named rds.config.ts.

import type { RDSConfig } from "@arnaud-barre/rds";

export const config: RDSConfig = {
  // ...
};

See the types definitions for more information on config options.

JS API

Each of the three mode (dev, build, preview) is exposed via JS. See the types definitions for more information.

Planned features

  • plugins
  • workers

Keywords

react

FAQs

Package last updated on 14 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts