Skip to content

Commit bf2de3d

Browse files
committed
fix: updating hmr test snapshot to work with webpack 5
1 parent ee3cf00 commit bf2de3d

File tree

1 file changed

+24
-0
lines changed
  • test/cases/hmr/expected/webpack-5

1 file changed

+24
-0
lines changed

test/cases/hmr/expected/webpack-5/main.js

+24
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
/******/ (() => { // webpackBootstrap
2+
/******/ // The module cache
3+
/******/ var __webpack_module_cache__ = {};
4+
/******/
5+
/******/ // The require function
6+
/******/ function __webpack_require__(moduleId) {
7+
/******/ // Check if module is in cache
8+
/******/ if(__webpack_module_cache__[moduleId]) {
9+
/******/ return __webpack_module_cache__[moduleId].exports;
10+
/******/ }
11+
/******/ // Create a new module (and put it into the cache)
12+
/******/ var module = __webpack_module_cache__[moduleId] = {
13+
/******/ // no module.id needed
14+
/******/ // no module.loaded needed
15+
/******/ exports: {}
16+
/******/ };
17+
/******/
18+
/******/ // Execute the module function
19+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
20+
/******/
21+
/******/ // Return the exports of the module
22+
/******/ return module.exports;
23+
/******/ }
24+
/******/
25+
/************************************************************************/
226
/******/ /************************************************************************/
327
// extracted by mini-css-extract-plugin
428
if(false) { var cssReload; }

0 commit comments

Comments
 (0)