Skip to content

Commit 29f0b91

Browse files
1 parent ee25e51 commit 29f0b91

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

test/cases/chunkFilename-fullhash/expected/webpack-5/main.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ __webpack_require__.r(__webpack_exports__);
7373
/******/
7474
/******/ /* webpack/runtime/getFullHash */
7575
/******/ (() => {
76-
/******/ __webpack_require__.h = () => ("67f76c798a7ae1ccf722")
76+
/******/ __webpack_require__.h = () => ("f572fe696dd05e7ca379")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -253,6 +253,10 @@ __webpack_require__.r(__webpack_exports__);
253253
/******/ };
254254
/******/
255255
/******/ // no hmr
256+
/******/
257+
/******/ // no prefetching
258+
/******/
259+
/******/ // no preloaded
256260
/******/ })();
257261
/******/
258262
/******/ /* webpack/runtime/jsonp chunk loading */

test/cases/hmr-locals/expected/main.js

+4
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,10 @@ __webpack_require__.r(__webpack_exports__);
10591059
/******/ }));
10601060
/******/ });
10611061
/******/ }
1062+
/******/
1063+
/******/ // no prefetching
1064+
/******/
1065+
/******/ // no preloaded
10621066
/******/ })();
10631067
/******/
10641068
/******/ /* webpack/runtime/jsonp chunk loading */

types/utils.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,10 @@ export function getUndoPath(
6565
outputPath: string,
6666
enforceRelative: boolean
6767
): string;
68+
/**
69+
* @param {Record<string|number, boolean>} map value map
70+
* @returns {boolean|(function(string): string)} true/false, when unconditionally true/false, or a template function to determine the value at runtime
71+
*/
72+
export function compileBooleanMatcher(
73+
map: Record<string | number, boolean>
74+
): boolean | ((arg0: string) => string);

0 commit comments

Comments
 (0)