/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/default-entry/test.js
7 строк
257 B
Alexander Akait
feat: resolve default ./src entry to index.html/index.css under experiments (#21039)
26 май 2026, 17:19
Не верифицирован
26 май 2026, 17:19
169b511
Код
Авторство
О чём код?
const fs = require("fs"); const path = require("path"); it("should resolve the extensionless `./src` entry to src/index.css", () => { const css = fs.readFileSync(path.resolve(__dirname, "main.css"), "utf-8"); expect(css).toContain(".default-entry"); });