Answer the question
In order to leave comments, you need to log in
Compiling ts to js on node js?
Good evening.
I'm running a small service on node js (I'm just getting acquainted with the node), I use typescript.
The service finished and a wish came from the customer so that when the node command is run in the console,
all files are collected in the dist folder and compiled into a js bundle
. I have no idea how this can be done, please tell me what to read on this topic?
Answer the question
In order to leave comments, you need to log in
Get webpack, borrow config from here , npm build will build everything in ./build/bundle.js
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question