Webpack Starter Template which generates random quote. Dist folder of website is deployed here
- Please check webpack.config.js for webpack configuration.
- Babel to support old browsers - <ES6
- Loaders : CSS and Style loaders
- Image Asset
- HtmlWebpackPlugin - Helps in creation of HTML File
- Caching and Code Splitting
- Lazy Loading
- Degit
Http caching is useful in increasing performance. It generates the new vendor bundle in dist folder, only when something is changed. We can keep track by hash of vendor bundle. This helps in reducing repetitive downloads as hash comparison is done. In other words, Don't ship whats not changed
- Run
npm run dev
to start Webpack dev server.
- Run
npm run build
to build the project, dist folder will be generated.