Skip to content

An Angular project showcasing best practices and techniques for optimizing libraries. This sample includes strategies for reducing bundle size, improving build performance, and enhancing runtime efficiency. Perfect for developers looking to elevate their Angular libraries with optimized code, faster load times, and a better user experience.

Notifications You must be signed in to change notification settings

jesussanzdev/angular-libraries-sample

Repository files navigation

Angular Libraries Sample

This project was generated with Angular CLI version 18.2.11.

An Angular project showcasing best practices and techniques for optimizing libraries. This sample includes strategies for reducing bundle size, improving build performance, and enhancing runtime efficiency. Perfect for developers looking to elevate their Angular libraries with optimized code, faster load times, and a better user experience.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Build the different solutions

The build artifacts will be stored in the dist/ directory.

  • Run npm run build:sample to build the app sample
  • Run npm run build:basic:lib to build the sample lib project.
  • Run npm run build:optimized:lib to build the improved lib project.
  • In order to change the dependencies between the basic and advanced library you will need to compile the library desired and change your reference in the app.component accordingly

Installation

  • Npm install
  • In order to compile the app sample it is necessary to build the library attached

About

An Angular project showcasing best practices and techniques for optimizing libraries. This sample includes strategies for reducing bundle size, improving build performance, and enhancing runtime efficiency. Perfect for developers looking to elevate their Angular libraries with optimized code, faster load times, and a better user experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published