An open API service indexing awesome lists of open source software.

https://github.com/dev-eranda/learning-webpack5

Learned Webpack 5 module bundler for JavaScript applications
https://github.com/dev-eranda/learning-webpack5

express micro-frontends nodejs serve-html-page webpack5 webpack5-module-federation

Last synced: about 2 months ago
JSON representation

Learned Webpack 5 module bundler for JavaScript applications

Awesome Lists containing this project

README

        

# Learning webpack 5

**Developed by:** Eranda Samarasinghe


## Project Background and Overview
This project demonstrates the use of Webpack 5 for module bundling, code splitting for faster loading, and improved caching to optimize assets and enhance performance. It also includes setting up an Express server to serve HTML pages and integrating jQuery. Additionally, the project explores Webpack 5's Module Federation for implementing Micro Frontends


## Project Goals
The main objectives of this application are to:

1. Get a solid foundation for learning advanced Webpack features
2. Integrate Webpack 5 with Node.js and Express framework
3. Structure your code better with ES Modules and Webpack Code Splitting
4. Use Webpack for Single Page Applications as well as Multiple Page Applications
5. Learned the new Module Federation feature introduced in Webpack 5


## Technical Details
Core technologies used:

- **Webpack 5, Node.js, Express, Module Federation, Micro Frontends**


## Installation
1. Clone repository:
```sh
git clone https://github.com/dev-eranda/learning-webpack5.git

2. Install dependencies:
```sh
npm install

3. Start development server:
```sh
npm run dev