Answer the question
In order to leave comments, you need to log in
Is it normal to do a single-file build of a project?
Good afternoon. Is it normal practice to assemble a backend project on Express or on something else into one bundle for production, for example? webpack and so on
Answer the question
In order to leave comments, you need to log in
Definitely not normal. But maybe you want to protect the code from client encroachment by simulating compilation ... well, such a kind of perversion.
And what's the point in that?
I would understand why combine everything into one file for PHP (to speed up - you don’t need to include a bunch of files), but all server files in JavaScript (express, koa, etc.) are loaded at startup and hang in memory all the time the server is running.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question