// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`ConfigTestCases html modulepreload-esm exported tests should emit module-format chunks (no IIFE wrapper) when output.module is enabled 1`] = `
"/*!********************!*\\\\
  !*** ./preload.js ***!
  \\\\********************/
const value = \\"preload module\\";
globalThis.__preloadLoaded = true;
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (value)));

"
`;

exports[`ConfigTestCases html modulepreload-esm exported tests should emit module-format chunks (no IIFE wrapper) when output.module is enabled 2`] = `
"/******/ var __webpack_modules__ = ({

/***/ 492
/*!********************!*\\\\
  !*** ./preload.js ***!
  \\\\********************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

const value = \\"preload module\\";
globalThis.__preloadLoaded = true;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (value);

/* harmony export */ __webpack_require__.d(__webpack_exports__, [
/* harmony export */   \\"A\\", 0, /* export default binding */ __WEBPACK_DEFAULT_EXPORT__
/* harmony export */ ]);


/***/ }

/******/ });
/************************************************************************/
/******/ // The module cache
/******/ const __webpack_module_cache__ = {};
/******/ 
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ 	// Check if module is in cache
/******/ 	const cachedModule = __webpack_module_cache__[moduleId];
/******/ 	if (cachedModule !== undefined) {
/******/ 		return cachedModule.exports;
/******/ 	}
/******/ 	// Create a new module (and put it into the cache)
/******/ 	const module = __webpack_module_cache__[moduleId] = {
/******/ 		// no module.id needed
/******/ 		// no module.loaded needed
/******/ 		exports: {}
/******/ 	};
/******/ 
/******/ 	// Execute the module function
/******/ 	if (!(moduleId in __webpack_modules__)) {
/******/ 		delete __webpack_module_cache__[moduleId];
/******/ 		const e = new Error(\\"Cannot find module '\\" + moduleId + \\"'\\");
/******/ 		e.code = 'MODULE_NOT_FOUND';
/******/ 		throw e;
/******/ 	}
/******/ 	__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ 
/******/ 	// Return the exports of the module
/******/ 	return module.exports;
/******/ }
/******/ 
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ 	// define getter/value functions for harmony exports
/******/ 	__webpack_require__.d = (exports, definition) => {
/******/ 		if(Array.isArray(definition)) {
/******/ 			var i = 0;
/******/ 			while(i < definition.length) {
/******/ 				var key = definition[i++];
/******/ 				var binding = definition[i++];
/******/ 				if(!__webpack_require__.o(exports, key)) {
/******/ 					if(binding === 0) {
/******/ 						Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
/******/ 					} else {
/******/ 						Object.defineProperty(exports, key, { enumerable: true, get: binding });
/******/ 					}
/******/ 				} else if(binding === 0) { i++; }
/******/ 			}
/******/ 		} else {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		}
/******/ 	};
/******/ })();
/******/ 
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ 	__webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
/******/ })();
/******/ 
/************************************************************************/
let __webpack_exports__ = {};
/*!******************!*\\\\
  !*** ./entry.js ***!
  \\\\******************/
/* harmony import */ var _preload_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./preload.js */ 492);


globalThis.__entryResult = \`entry: \${_preload_js__WEBPACK_IMPORTED_MODULE_0__/* [\\"default\\"] */ .A}\`;

"
`;

exports[`ConfigTestCases html modulepreload-esm exported tests should rewrite <link rel=modulepreload> and <script type=module src> to chunk URLs 1`] = `
"<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<link rel=\\"modulepreload\\" href=\\"__html_cbe5b59d_0.chunk.mjs\\">
<link rel=\\"modulepreload    \\" href=\\"__html_cbe5b59d_1.chunk.mjs\\">
<link rel=\\"modulepreload\\" href=\\"__html_cbe5b59d_2.chunk.mjs\\">
<!-- webpackIgnore: true -->
<link rel=\\"modulepreload\\" href=\\"./ignored-preload.js\\">
</head>
<body>
<h1>Hello</h1>
<script type=\\"module\\" src=\\"__html_cbe5b59d_3.chunk.mjs\\"></script>
<!-- webpackIgnore: true -->
<script type=\\"module\\" src=\\"./ignored-entry.js\\"></script>
</body>
</html>
"
`;
