Home  >  Article  >  Backend Development  >  How to divide the work when using gulp and webpack together?

How to divide the work when using gulp and webpack together?

WBOY
WBOYOriginal
2016-08-04 09:20:501003browse

How to divide the work when using gulp and webpack together?

Webpack is used for modular packaging. I use laravel, but I don’t think webpack can be used.

There are a bunch of js files, css files, and image files.
They are placed in the js, css, and image folders under public/assets/.
It feels like just using gulp to package them into one file is fine. Is there no webpack here? thing?
When can I use webpack?

Reply content:

How to divide the work when using gulp and webpack together?

Webpack is used for modular packaging. I use laravel, but I feel that webpack is not useful.

There are a bunch of js files, css files, and image files.
They are placed in the js, css, and image folders under public/assets/.
It feels like just using gulp to package them into one file is fine. Is there no webpack here? thing?
When can I use webpack?

Don’t use it just for the sake of using it. Laravel has integrated gulp very well, which can basically meet daily development needs

Isn’t laravel a PHP framework? Can it also be used on the front end?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn