/webpack-learning

This is a mini project built for learning how to use webpack with HTML, CSS, JavaScript, and images.

Primary LanguageJavaScript

Webpack Learning Project

This is a mini project built for learning how to use webpack with HTML, CSS, JavaScript, and images.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository:
git clone https://github.com/TienThinh-fe/webpack-learning.git
cd webpack-learning
npm install
  1. Start the development server:
npm start
  1. To build the production version of the project:
npm run build

Config for webpack

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.

Resources

Webpack Documentation: https://webpack.js.org/concepts/