0.2.0 • Published 2 years ago
@gulujs/ensure-esm-import-explicit v0.2.0
@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
License
0.2.0
2 years ago