/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotCases/css/accept-split-chunks/index.js
18 строк
541 B
Xiao
fix: guard HarmonyAcceptDependency against unresolved module ids (#21302)
29 июн 2026, 21:57
Не верифицирован
29 июн 2026, 21:57
0abec4d
Код
Авторство
О чём код?
import * as barrel from "./barrel.js"; import * as styles from "./style.module.css"; it("should compile with css accept and lazy barrel re-exports", function (done) { expect(styles).toMatchObject({ class: "accept-split-chunks-style_module_css-class" }); expect(barrel.helper()).toBe("helper"); module.hot.accept(["./style.module.css", "./style2.module.css"], () => { expect(styles).toMatchObject({ "class-other": "accept-split-chunks-style_module_css-class-other" }); done(); }); NEXT(require("../../update")(done)); });