@node-projects/add-js-to-esm-modules
v1.3.0
Published
add's the .js extension to local im/exports
Downloads
7
Keywords
Readme
add-js-to-esm-modules
goal
add .js to local imports/exports so they can be used directly as esm modules
why
cause typescript does not add the extensions:
see: https://github.com/microsoft/TypeScript/issues/40878 annd a pull: https://github.com/microsoft/TypeScript/pull/47436
thanks
basic script is from https://gist.github.com/lovasoa/8691344