From e791e046e231a6d49c7cfb32cdeed0cad241fa41 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Thu, 8 Dec 2022 12:31:55 +0100 Subject: [PATCH] refactor: Document need of refactor --- lib/utils/import-esm.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/import-esm.js b/lib/utils/import-esm.js index b8d19f12817..498284abfee 100644 --- a/lib/utils/import-esm.js +++ b/lib/utils/import-esm.js @@ -1,3 +1,5 @@ +// TODO: Remove after dropping support for Node.js v12 + 'use strict'; module.exports = async (modPath) => import(`file:///${modPath}`);