You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It took some time to figure out how to compile a test. Finally landed on this npm script:
Surprised because if you pass in a filename to the
tsc
command, then it doesn't seem to use thetsconfig.json
file.esbuild
will also just work with typescript source, so we don't have to use thetsc
command at all:We want to use
esbuild
here becausetsc
will not bundle our JS code.Beta Was this translation helpful? Give feedback.
All reactions