@gulujs/ensure-esm-import-explicit

0.2.0 • Public • Published

@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

MIT

Dependents (0)

Package Sidebar

Install

npm i @gulujs/ensure-esm-import-explicit

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

9.42 kB

Total Files

6

Last publish

Collaborators

  • jkeylu