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.
Comments (0)
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent