Answer the question
In order to leave comments, you need to log in
What kind of projects do you need Webpack for?
I have been working in a new website development studio for several months now.
Recently there was a need to compress files on the server, as well as merging. Development goes right on the server. We develop both LP and multi-page and online stores. Do I need to use webpack for this purpose in these projects?
If so, please advise plugins for minimizing css, js, html files, reducing image sizes and for the correct work of preprocessors for syy
Answer the question
In order to leave comments, you need to log in
Webpack is ideal for SPA applications. Of course, it can also be used for desktop applications, although it will not be as elegant. Of course, gulp can do all of the above, but gulp is still a task runner, i.e. a more general-purpose tool, and webpack is a assembler, i.e. a tool tailored specifically for building applications. And yes, using webpack generally frees you from using gulp. Regarding plugins - read the doc https://webpack.github.io/, you will find there about plugins and everything else.
For all in which there is JavaScript. I am using gulp in conjunction with webpack.
This is my template for starting projects https://github.com/zoxon/gulp-front
For graphics optimization I use gulp-imagemin, for the code there is uglifyjs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question