ES Modules version #1

Відкрито
2021-09-22 17:40:32 +00:00 відкрито coolaj86 · 0 коментарів
coolaj86 прокоментував(ла) 2021-09-22 17:40:32 +00:00
Власник

There's an esmodule branch which has this an as ES Module using import, but there is literally NO benefit to using this in that way.

It works with other ES Modules as-is.

Transforming it to an ES Module itself just breaks backwards compatibility with 99.999% of the npm ecosystem that uses Common JS.

There's an [`esmodule`](https://git.rootprojects.org/root/walk.js/src/branch/esmodule) branch which has this an as ES Module using import, but there is literally NO benefit to using this in that way. It works with other ES Modules as-is. Transforming it to an ES Module itself just breaks backwards compatibility with 99.999% of the npm ecosystem that uses Common JS.
Підпишіться щоб приєднатися до обговорення.
Без мітки
Етап відсутній
Проєкт відсутній
Немає виконавця
1 учасників
Сповіщення
Дата завершення
Термін дії не дійсний або знаходиться за межами допустимого діапазону. Будь ласка використовуйте формат 'yyyy-mm-dd'.

Термін виконання не встановлений.

Залежності

No dependencies set.

Reference: root/walk.js#1
No description provided.