78 lines
3.5 KiB
Plaintext
78 lines
3.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`multi-entry 1`] = `
|
|
####################
|
|
# admin/index.html #
|
|
####################
|
|
<html><head>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module">import { b as bootstrap } from '../app.js';
|
|
|
|
function adminDeps(){
|
|
return "robin!";
|
|
}
|
|
|
|
bootstrap(document.getElementById('root'), adminDeps());
|
|
//# sourceMappingURL=index.body.script0.js.js.map
|
|
</script>
|
|
<script src="batman.js" type="module"></script>
|
|
|
|
|
|
</body></html>
|
|
##############
|
|
# index.html #
|
|
##############
|
|
<html><head>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module">import { b as bootstrap } from './app.js';
|
|
|
|
bootstrap(document.getElementById('root'), "<none>");
|
|
//# sourceMappingURL=index.body.script.js.js.map
|
|
</script>
|
|
|
|
|
|
</body></html>
|
|
###################
|
|
# admin/batman.js #
|
|
###################
|
|
const b = ()=>'batman';
|
|
console.log(b());
|
|
|
|
export { b };
|
|
//# sourceMappingURL=batman.js.map
|
|
|
|
#######################
|
|
# admin/batman.js.map #
|
|
#######################
|
|
{"version":3,"file":"batman.js","sources":["../../admin/batman.js"],"sourcesContent":["export const b = ()=>'batman';\\nconsole.log(b());\\n"],"names":[],"mappings":"AAAY,MAAC,CAAC,GAAG,IAAI,SAAS;AAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;;;;"}
|
|
######################################
|
|
# admin/index.body.script0.js.js.map #
|
|
######################################
|
|
{"version":3,"file":"index.body.script0.js.js","sources":["../../app/admin-deps.js","../../admin/index.html.body.script0.js"],"sourcesContent":["export function adminDeps(){\\n return \\"robin!\\";\\n}\\n","\\n import {bootstrap} from \\"../app/app.js\\"\\n import {adminDeps} from \\"../app/admin-deps.js\\";\\n bootstrap(document.getElementById('root'), adminDeps());\\n "],"names":[],"mappings":";;AAAO,SAAS,SAAS,EAAE;AAC3B,IAAI,OAAO,QAAQ,CAAC;AACpB;;ACCY,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC"}
|
|
##########
|
|
# app.js #
|
|
##########
|
|
const bootstrap = (el,deps = [])=>{
|
|
el.innerHtml = \`
|
|
<div>I'm "annoying" \${"in case we need to test \\\`string\\\` escaping."}. Hence this file \\'tries\\' to include all allowed forms of 'it'</div>
|
|
<div>Deps: \${deps}</div>
|
|
\`;
|
|
};
|
|
|
|
export { bootstrap as b };
|
|
//# sourceMappingURL=app.js.map
|
|
|
|
##############
|
|
# app.js.map #
|
|
##############
|
|
{"version":3,"file":"app.js","sources":["../app/app.js"],"sourcesContent":["export const bootstrap = (el,deps = [])=>{\\n el.innerHtml = \`\\n <div>I'm \\"annoying\\" \${\\"in case we need to test \\\\\`string\\\\\` escaping.\\"}. Hence this file \\\\'tries\\\\' to include all allowed forms of 'it'</div>\\n <div>Deps: \${deps}</div>\\n \`;\\n}\\n"],"names":[],"mappings":"AAAY,MAAC,SAAS,GAAG,CAAC,EAAE,CAAC,IAAI,GAAG,EAAE,GAAG;AACzC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC;AACpB,4BAA4B,EAAE,8CAA8C,CAAC;AAC7E,mBAAmB,EAAE,IAAI,CAAC;AAC1B,IAAI,CAAC,CAAC;AACN;;;;"}
|
|
###############################
|
|
# index.body.script.js.js.map #
|
|
###############################
|
|
{"version":3,"file":"index.body.script.js.js","sources":["../index.html.body.script.js"],"sourcesContent":["\\n import {bootstrap} from \\"./app/app.js\\"\\n bootstrap(document.getElementById('root'), \\"<none>\\");\\n "],"names":[],"mappings":";;AAEY,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC"}
|
|
`;
|