Skip to content

Commit

Permalink
test: fix (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 16, 2024
1 parent ee25e51 commit 29f0b91
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/cases/chunkFilename-fullhash/expected/webpack-5/main.js
Expand Up @@ -73,7 +73,7 @@ __webpack_require__.r(__webpack_exports__);
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ (() => {
/******/ __webpack_require__.h = () => ("67f76c798a7ae1ccf722")
/******/ __webpack_require__.h = () => ("f572fe696dd05e7ca379")
/******/ })();
/******/
/******/ /* webpack/runtime/global */
Expand Down Expand Up @@ -253,6 +253,10 @@ __webpack_require__.r(__webpack_exports__);
/******/ };
/******/
/******/ // no hmr
/******/
/******/ // no prefetching
/******/
/******/ // no preloaded
/******/ })();
/******/
/******/ /* webpack/runtime/jsonp chunk loading */
Expand Down
4 changes: 4 additions & 0 deletions test/cases/hmr-locals/expected/main.js
Expand Up @@ -1059,6 +1059,10 @@ __webpack_require__.r(__webpack_exports__);
/******/ }));
/******/ });
/******/ }
/******/
/******/ // no prefetching
/******/
/******/ // no preloaded
/******/ })();
/******/
/******/ /* webpack/runtime/jsonp chunk loading */
Expand Down
7 changes: 7 additions & 0 deletions types/utils.d.ts
Expand Up @@ -65,3 +65,10 @@ export function getUndoPath(
outputPath: string,
enforceRelative: boolean
): string;
/**
* @param {Record<string|number, boolean>} map value map
* @returns {boolean|(function(string): string)} true/false, when unconditionally true/false, or a template function to determine the value at runtime
*/
export function compileBooleanMatcher(
map: Record<string | number, boolean>
): boolean | ((arg0: string) => string);

0 comments on commit 29f0b91

Please sign in to comment.