egoist / esbuild-register

Transpile JSX, TypeScript and esnext features on the fly with esbuild
MIT License
984 stars 52 forks source link

get node version bug #74

Open gityoog opened 2 years ago

gityoog commented 2 years ago

when node version is like 12.20.0, the value of nodeVersion[1] will be 20, this will cause the removeNodePrefix to be skipped. fix: pull#73