/webpack-js-modules

A sample project that demonstrate the usage of webpack (babel, codesplitting,assets)

Primary LanguageJavaScript

A simple project to demonstrate usage of webpack

This project demonstrate following concepts:

  • Configuring webpack
  • Configuring Loaders to enable the usage of babel(ES2015), CSS file, images
  • Babel configuration
  • Codesplitting, image compression, assets loading etc

Clone the repo and use npm install command to install the required node modules

Do check that NODE_ENV variable is not set to production else dev dependencies will not be installed or use npm install dev

Run npm run build command and then open index.html file in your browser.