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

WBOY
Release: 2016-08-04 09:20:50
Original
1086 people have browsed it

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?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!