EBL(esbuild-bundle-lite) is an esbuild-based bundling tool for React projects. The primary development content is focused in the esbuild folder, while the src folder exists for simple testing of esbuild.
This repository offers configuration files and dependencies for quickly starting projects using React.js and esbuild. TypeScript compilation for testing purposes employs swc.
-
Install dependencies using your preferred package manager (
yarn
):yarn install
-
Start the development server:
yarn dev
-
Open your web browser and visit
http://localhost:3000
to see your React application in action.
yarn dev
: Starts the development server.yarn build
: Builds the production-ready application.yarn bundle
: Prepares the application for production. It uses tsc to bundle the package in cjs and esm formats for publishing.
- esbuild: Fast JavaScript bundler and minifier.
- React: JavaScript library for building user interfaces.
- React DOM: React package for working with the DOM.
- TypeScript: A typed superset of JavaScript.
- swc: A super-fast compiler written in Rust, used for TypeScript compilation.
The package is published as @mniii/ebl.