L
L
lssssssssssl2021-08-10 15:27:30
Express.js
lssssssssssl, 2021-08-10 15:27:30

How to build the code so that it takes up less space?

Here I have a server.js file and a src folder in which there are many more folders and various files (Routes controllers and all that). All this on express.
How can I use webpack to compile all this into the dist folder so that it is modified and takes up less space and works for the node ./dist/server.js command , how can I build the src folder with all nestings in dist.
Do not judge strictly! He described everything as humanly as possible, so that it was clear. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alice, 2021-08-10
@w3bsmes

I want to and will judge strictly. Carefully read not the guides, but the office. documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question