/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/side-effects/asset-module/module.js
10 строк
321 B
Alexander Akait
feat: handle more expression types in isPure for better tree-shaking (#20723)
28 апр 2026, 21:06
Не верифицирован
28 апр 2026, 21:06
45b2358
Код
Авторство
О чём код?
import asset from "./unused.png?asset"; import bytes from "./unused.png?bytes"; import inlined from "./unused.png?inline"; import source from "./unused.png?source"; import resource from "./used.png"; let arr = [asset, bytes, inlined, source]; let obj = { asset, bytes, inlined, source }; export { arr, obj, resource };