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.
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.
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
- Npm install
- In order to compile the app sample it is necessary to build the library attached