No image available

hmr-webpack2

A developer reference example showing how to set up Webpack 2.x hot module replacement for the PrestaShop Classic Theme, enabling live asset reloading during theme development.

Developed by PrestaShop Team

Get This Theme Free on GitHub
PS 1.7 – 9.x License: MIT Status: Unknown Health: Excellent

Info updated 1 month ago

Sources
Stars: 9 Last commit: May 10, 2018
Type
Theme

Info checked: Mar 2, 2026

This repository is a developer-oriented example demonstrating how to configure hot module replacement (HMR) with Webpack 2.x for the PrestaShop Classic Theme. It serves as a reference for developers looking to speed up front-end theme development by enabling live asset reloading without full page refreshes. The setup is intended as a learning reference rather than a production-deployable theme.

  • Hot module replacement configuration for Webpack 2.x, enabling live CSS and JavaScript updates during development
  • Simple setup process: clone the repository into the themes folder, install dependencies via npm or Yarn, and configure theme folder path and public path in the hot webpack config file
  • npm/Yarn scripts for starting hot development mode (npm run hot)
  • MIT licensed

This example is suited for PrestaShop theme developers who use Webpack 2.x and want to implement hot module replacement in their theme development workflow. It requires NodeJS and shell access. Developers working with newer versions of Webpack can refer to the companion Webpack 3.x example from the same author.

  • Reference
    hmr-webpack2

  • License
    MIT
  • PS Compatibility
    1.7.x
    8.x
    9.x
  • Status
    Unknown

Comments (0)

No customer reviews for the moment.
Loading...