Skip to content

darshangaikwad4114/Webpack-app-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack-app-starter

Webpack App Starter 🚀

The Webpack App Starter is a boilerplate for JavaScript applications. It includes development dependencies like Babel, CSS loaders, HTML Webpack Plugin, and Sass compiler. The project uses axios for API requests. To use, clone the repository, install dependencies, customize configurations, and start the development server. Contributions are welcome following the guidelines in the readme. The project is under the MIT License.

Webpack App Starter Dependencies Documentation

Devlopment Dependencies

  • @babel/preset-env (^7.23.9): Babel preset for compiling modern JavaScript syntax to older versions.
  • babel-loader (^8.3.0): Webpack loader for transpiling JavaScript files using Babel.
  • css-loader (^6.10.0): Webpack loader for loading CSS files.
  • html-webpack-plugin (^5.6.0): Webpack plugin for generating HTML files with injected bundles.
  • mini-css-extract-plugin (^2.8.0): Webpack plugin for extracting CSS into separate files.
  • sass (^1.71.1): Sass compiler for transforming Sass files to CSS.
  • sass-loader (^12.6.0): Webpack loader for loading Sass files.
  • style-loader (^3.3.4): Webpack loader for injecting CSS styles into the DOM.
  • webpack (^5.90.3): Module bundler for JavaScript applications.
  • webpack-bundle-analyzer (^4.10.1): Webpack plugin for analyzing bundle sizes.
  • webpack-cli (^4.10.0): Command-line interface for running Webpack commands.
  • webpack-dev-server (^4.15.1): Development server for serving Webpack bundles.

Dependencies

  • axios (^0.26.1): Promise-based HTTP client for making API requests.

Getting Started 🚀

To use this project, follow these steps:

  1. Clone the repository to your local machine. git clone https://github.com/darshangaikwad4114/Webpack-app-starter.git
  2. Install the required dependencies by running npm install or yarn install.
  3. Customize the configuration files according to your project requirements.
  4. Start the development server by running npm start or yarn start.
  5. Open your browser and navigate to http://localhost:8080 (or the specified port).
  6. Begin developing your JavaScript application using the provided environment.

Configuration

To configure the Webpack App Starter, follow these steps:

  1. Open the project's root directory.
  2. Locate the webpack.config.js file.
  3. Open the webpack.config.js file in a text editor.
  4. Modify the configuration options according to your project requirements.

Contributing 🙌

If you would like to contribute to this project, please follow these guidelines:

  1. Fork the repository and create a new branch for your feature or bug fix.
  2. Make your changes and ensure that the project builds successfully.
  3. Write tests to cover your changes, if applicable.
  4. Submit a pull request with a clear description of your changes and their purpose.

License 📃

This project is licensed under the MIT License.