/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/inline-script/__snapshots__/ConfigCacheTest.snap
41 строка
2 KB
Alexander Akait
refactor(css,html): derive the remaining name tables in the generators (#21676)
6 часов назад
Не верифицирован
6 часов назад
4410afe
Код
Авторство
О чём код?
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`ConfigCacheTestCases html inline-script exported tests should bundle inline <script type=module> as an ES-module chunk 1`] = ` "/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\\\\ !*** data:text/javascript;base64,CmNvbnN0IGFyciA9IFsxLCAyLCAzXTsKY29uc3Qgc3VtID0gYXJyLnJlZHVjZSgoYSwgYikgPT4gYSArIGIsIDApOwp3aW5kb3cuX19pbmxpbmVNb2R1bGVTdW0gPSBzdW07Ci8vIE5vbi1BU0NJSSBzb3VyY2Ugc3Vydml2ZXMgdGhlIGRhdGEgVVJJIHJvdW5kLXRyaXAuCndpbmRvdy5fX2lubGluZU1vZHVsZVVuaWNvZGUgPSAi5pel5pys6KqeIM+AIjsK ***! \\\\****************************************************************************************************************************************************************************************************************************************************************************************************************/ const arr = [1, 2, 3]; const sum = arr.reduce((a, b) => a + b, 0); window.__inlineModuleSum = sum; // Non-ASCII source survives the data URI round-trip. window.__inlineModuleUnicode = \\"日本語 π\\"; " `; exports[`ConfigCacheTestCases html inline-script exported tests should bundle inline <script> bodies as entry chunks and rewrite their tags to \`<script src>\` 1`] = ` "<!DOCTYPE html> <html> <head> <title>Inline Script Test</title> <script src=\\"__html_cbe5b59d_0.chunk.js\\" type=\\"module\\"></script> <script src=\\"__html_cbe5b59d_1.chunk.js\\" type=\\"module\\"></script> <script src=\\"__html_cbe5b59d_2.chunk.js\\" type=\\"module\\"></script> <!-- Non-JS type stays untouched --> <script type=\\"application/ld+json\\"> {\\"@context\\": \\"https://schema.org\\"} </script> <script type=\\"importmap\\"> {\\"imports\\": {\\"foo\\": \\"./foo.js\\"}} </script> </head> <body> <p>Hi</p> <script src=\\"__html_cbe5b59d_3.chunk.js\\" type=\\"module\\"></script> <!-- A legacy JavaScript MIME essence: still executable JS, so still bundled. --> <script src=\\"__html_cbe5b59d_4.chunk.js\\" type=\\"module\\"></script> </body> </html> " `;