This is a mini project built for learning how to use webpack with HTML, CSS, JavaScript, and images.
To get started with this project, follow these steps:
- Clone the repository:
git clone https://github.com/TienThinh-fe/webpack-learning.git
cd webpack-learning
npm install
- Start the development server:
npm start
- To build the production version of the project:
npm run build
Common config for webpack is in webpack.common.js file. This file is used for both development and production mode.
Path: './webpack.config.js'
Development config for webpack is in `webpack.dev.js` file.
Production config for webpack is in `webpack.prod.js` file.
Webpack Documentation: https://webpack.js.org/concepts/