/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/large/index.js
22 строки
635 B
Alexander Akait
fix: css modules bugs
12 дек 2025, 12:04
Не верифицирован
12 дек 2025, 12:04
aab1da9
Код
Авторство
О чём код?
const prod = process.env.NODE_ENV === "production"; it("should allow to create css modules", done => { prod ? __non_webpack_require__("./961.bundle1.js") : __non_webpack_require__("./use-style_js.bundle0.js"); import("./use-style.js").then(({ default: x }) => { try { expect(x).toMatchSnapshot(prod ? "prod" : "dev"); } catch (e) { return done(e); } done(); }, done); }); it("should allow to process tailwind as global css", done => { prod ? __non_webpack_require__("./382.bundle1.js") : __non_webpack_require__("./tailwind_min_css.bundle0.js"); import("./tailwind.min.css").then(() => done(), done); });