Skip to content

Commit

Permalink
fix: updating hmr test snapshot to work with webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
abhchand committed Aug 6, 2020
1 parent ee3cf00 commit bf2de3d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/cases/hmr/expected/webpack-5/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
/******/ (() => { // webpackBootstrap
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(__webpack_module_cache__[moduleId]) {
/******/ return __webpack_module_cache__[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /************************************************************************/
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
Expand Down

0 comments on commit bf2de3d

Please sign in to comment.