/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/parse-error/__snapshots__/StatsTest.snap
21 строка
744 B
Alexander Akait
fix: keep loader results as JavaScript when css/html support is implicitly enabled (#21485)
23 июл 2026, 14:22
Не верифицирован
23 июл 2026, 14:22
27dfadb
Код
Авторство
О чём код?
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`StatsTestCases parse-error should print correct stats for parse-error 1`] = ` "assets by status X KiB [cached] 1 asset orphan modules X bytes [orphan] 1 module ./index.js + 1 modules X bytes [built] [code generated] ./b.js X bytes [built] [code generated] [1 error] ERROR in ./b.js 6:7 Module parse failed: Unexpected token (6:7) File was parsed as module type 'javascript/auto'. You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders 5 | a > 6 | parser ) | ^ 7 | error @ ./a.js 2:0-13 @ ./index.js 2:0-13 webpack x.x.x compiled with 1 error" `;