Skip to content

Geetha1212/webpack-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reference

Version #1.0.0

  • Simple Webpack app with Single Bundle
  • can have dev mode and production build
  • dev mode uses webpack dev server for hot reloading npm run hot
  • Difference between webpack -d / webpack --watch and webpack-dev-server is , dev server have bundles in memory and not write into the disk
  • production mode generates build file in dist/bundle.js

Version #1.1.0

  • webpack with multiple split bundles based on multiple entry point
  • output bundle name as configured in webpack.config.js
  • use to reduce the size of the bundle
  • as explained in here

Version #1.2.0

  • Added Support for SaSS files with Sassloader and node-sass
  • Added config for devServer inside webpack.config.js
  • Added HTML Plugin to create index.html automatically with the webpack bundled script based on template

Version #1.3.0

  • Added Support for extract-text-webpack-plugin
  • This plugin is used to separate out CSS modules from bundled js chunks into separate CSS file.
  • When you look at the auto generated index.html in root directory , you can notice css file include apart from JS bundle includes.

Version #1.3.1

  • Added options to webpack-dev-server as configuration
  • Clean the dist directory before new build using rimraf
  • Moved the generated index.html to the root folder from inside dist/

Version #1.4.0