0.1.0 • Published 4 years ago
@lunjs/ensure-esm-import-explicit v0.1.0
@lunjs/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 @lunjs/ensure-esm-import-explicitUsage
ensure-esm-import-explicit --source ./dist --in-placeLicense
0.1.0
4 years ago