关键差异:
1、The basic difference is Gulp is a task runner, whereas Webpack is a bundler.
2、webpack能够启动本地服务(webpack-dev-server),并作为中间件完成一些更强大的功能,gulp做不到
3、webpack可以很容易地做tree-shaking,gulp不行
4、webpack可以替换gulp,gulp不可以替换webpack
1、The basic difference is Gulp is a task runner, whereas Webpack is a bundler.
2、webpack能够启动本地服务(webpack-dev-server),并作为中间件完成一些更强大的功能,gulp做不到
3、webpack可以很容易地做tree-shaking,gulp不行
4、webpack可以替换gulp,gulp不可以替换webpack
本文标题:Gulp 对比 Wepack
本文链接:https://www.haomeiwen.com/subject/oafszltx.html
网友评论