Skip to content

justinotero/webpack-setup

Repository files navigation

Webpack setup

Example of a simple Webpack configuration. Webpack will watch for changes and automatically generate new bundles.

Usage

  1. npm i
  2. Develop: npm start and open up http://localhost:8080/
  3. Build for production: npm run build

Features

  • Simple Webpack setup to get things started.
  • Write ES6 JavaScript
  • Webpack dev server
  • Development and production configuration files.
  • Hot Module Replacement (HMR) (Including html changes)
  • Stylelint (.stylelintrc)
  • Eslint (.eslintrc)
  • Travis
  • Editorconfig
  • Loaders for css, fonts and images
  • Separate css bundle
  • Babel presets via .babelrc
  • Minified production build
  • Hashed/fingerprinted output files, css and js
  • Postcss with plugin setup via postcss.config.js

About

Simple Webpack setup to start things up.

Resources

License

Stars

Watchers

Forks

Packages

No packages published