Answer the question
In order to leave comments, you need to log in
Why webpack for Node.js?
Good afternoon, what is the purpose of webpack for Node.js ?
So far, I have compiled a config only for:
1. eslint
2. jest testing
3. because it seems to be necessary (basic)
In general, only as a task runner.
I don’t quite understand whether it is needed there at all or not, for example, you can tweak babel, but for Node we always know the version and what will work and what won’t.
In general, everything is as usual here, something new must be used, why? - I don't understand yet.
Please point me in the direction, thanks
Answer the question
In order to leave comments, you need to log in
not needed. Especially if you do not have an answer to the question "why". Why don't you use it.
Unless if you make a library and confuse something very confused. But even there, there is usually enough babel to assemble several versions for different nodes.
There is also rollup which claims (stated when I looked at it a couple of years ago) that it improves something there - it makes it easier to create libraries.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question