ts-esm-rename
v0.1.1
Published
Rename extensionn-less imports from typescript's ESM build to .js to support native node esm imports
Downloads
8
Maintainers
Readme
Installation
$ npm install --save-dev ts-esm-rename
Usage
$ ts-esm-rename --target lib/esm --regex-import-statement \"^\\s*(import|export)\\s{1,}(.*)\\s{1,}from\\s{1,}(\\\"|')(\\.{1,2}\\/.*)(\\\"|');?\\s*$\" --regex-filename \"\\.js\"