/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/side-effects/url/module.js
8 строк
291 B
Tobias Koppers
allow inner graph shaking for new URL()
19 янв 2021, 15:31
19 янв 2021, 15:31
4ec418c
Код
Авторство
О чём код?
export default new URL("file.png?default", import.meta.url); export const named = new URL("file.png?named", import.meta.url); export const indirect = fn; export const used = new URL("file.png?used", import.meta.url); function fn() { return new URL("file.png?indirect", import.meta.url); }