Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack config 2.0

This repository is a quick-start template for vanilla JavaScript projects. It includes a pre-configured setup for Webpack, Babel, ESLint, Prettier, and testing with Jest.

Features

  • Webpack: Module bundling and asset management.
  • Babel: JavaScript transpilation for using the latest JS features.
  • ESLint: Code quality and consistency checks, configured with Airbnb's base guide.
  • Prettier: Automated code formatting.
  • Jest: Testing framework for JavaScript.

Getting Started

  1. Clone the Template: Click on the 'use this template' button on the top right side of the repo.
  2. Install Dependencies: Run npm install to install all dependencies.
  3. Update to Latest Package Versions (Optional): Run npm update.
  4. Development Server: Use npm run dev to start the webpack development server.
  5. Building: Run npm run build to create a production build.
  6. Linting: Use npm run lint to run ESLint using the airbnb style guide.
  7. Formatting: Run npm run prettier to format the codebase.
  8. Testing: Run npm test to run tests with Jest.

About

Updated Webpack configuration for initial vanilla JS development projects.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages