typescript-node-es-modules-example
typescript-node-es-modules-example copied to clipboard
Update tsconfig.json to specify using the node module resolution
"module": "esnext" defaults to 'classic' which won't resolve via node_modules - so your sample works fine but the moment someone uses a library then they'll be a bit stuck
I was looking at tslib support via this repo https://github.com/Urigo/typescript-node-es-modules-example/compare/master...orta:with_tslib?expand=1