MahendraSv / angular-esbuild-example

Esbuild Angular Example project, production build in ~200ms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Esbuild Example

50x faster builds with esbuild, production build within 200ms instead of 10s

Enjoy this:

image description

Instead of this:

image description

Simple angular-cli example, using ngc-esbuild to achieve hyperfast builds.

Get started with a single command:

git clone git@github.com:marcellkiss/angular-esbuild-example.git && cd angular-esbuild-example && npm i && npx ngc-esbuild

(This project was generated with Angular CLI version 13.1.3.)

Getting started

Get started with a single command:

git clone git@github.com:marcellkiss/angular-esbuild-example.git && cd angular-esbuild-example && npm i && npx ngc-esbuild

Or do it step by step:

  1. clone the project:
git clone git@github.com:marcellkiss/angular-esbuild-example.git
  1. enter the folder
cd angular-esbuild-example
  1. install the dependencies
npm i
  1. Run ngc-esbuild:
npx ngc-esbuild

About

Esbuild Angular Example project, production build in ~200ms


Languages

Language:HTML 76.6%Language:TypeScript 18.5%Language:JavaScript 4.7%Language:SCSS 0.3%