@gulujs/ensure-esm-import-explicit
Ensure that import path is a full path to a module.
To avoid adding --experimental-specifier-resolution=node
flag, we should provide a full path to the loader. (see: Customizing ESM specifier resolution algorithm)
Installation
npm i @gulujs/ensure-esm-import-explicit
Usage
ensure-esm-import-explicit --source ./dist --in-place