V
V
Vyacheslav Lebedev2015-12-16 01:15:46
webpack
Vyacheslav Lebedev, 2015-12-16 01:15:46

Webpack vs Gulp, clear and understandable. Or why do I need another powerful tool?

Good time! :)
Can't really decide if I should use webpack with gulp or just webpack.
Everywhere I read how cool webpack is, but until now I have not realized its features that would overshadow for example gulp, or why use it in conjunction with gulp, because I used to love the simplicity and speed of gulp so much (compared to grunt).
What are the features in webpack that I really need and will fall in love with webpack after that if I find out about them? :)
Just as I understood, webpack is not a replacement for taskers, but some kind of bundler.
Who can explain: what is webpack for?
There are a huge bunch of questions, with each search for answers they become a little more and I only delve into the process of working with webpack, but I don’t even come close to realizing why I need it so much?
Thank you! :))

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2015-12-16
@slavikse

do i need to use webpack with gulp or just webpack

webpack is a bundler that bundles modules. Modules can include both js and css, all sorts of templates, etc. and webpack can bundle all this into one such fat bundle (or separate them in a smart way or something). And that's all. This is where his area of ​​responsibility ends. But what is left for the runners in this case?
Yes, actually for simple projects and nothing. For projects it is more difficult - running tests, various routine actions ... in a word, some kind of tasks. For example gulp deploy, gulp build which, after bundling, will make us build everything and everything in tar.gz and also run the tests. Well, etc.
Of course, there are "plugins" for webpack that add task runner functionality, but as for me, this is already overkill.

D
D', 2015-12-16
@Denormalization

IMHO another hipster (nodejs) trend.
Every year, steadily, the whole world "suddenly" realizes that their current instrument (released a year ago) has become too "fu fu fu", and they urgently need to cut down something new so that everyone says "ah".
Let's wait until 5 years, until all this settles down, and a normal stack of technologies for development is formed.

S
sim3x, 2015-12-16
@sim3x

standards.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question