typescript-node-es-modules-example icon indicating copy to clipboard operation
typescript-node-es-modules-example copied to clipboard

Update tsconfig.json to specify using the node module resolution

Open orta opened this issue 5 years ago • 0 comments

"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

orta avatar Sep 28 '20 16:09 orta