V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
peneazy

各位前端,大家现在用的是 gulp 还是 grunt

  •  
  •   peneazy · Oct 5, 2016 via Android · 7127 views
    This topic created in 3492 days ago, the information mentioned may be changed or developed.
    现在公司用的是自己的自动化工具,想深入学习一下原理,怎奈不像 gulp 、 grunt 的资料这么多。想在国庆最后三天学一个,不知道学哪个。
    Supplement 1  ·  Jan 8, 2017
    有同样疑惑的人,推荐 webpack ,目前用着不错
    51 replies    2016-11-30 21:54:00 +08:00
    yhxx
        1
    yhxx  
       Oct 5, 2016
    gulp 和 webpack 混用中

    grunt 已经基本淘汰了吧
    ericls
        2
    ericls  
       Oct 5, 2016
    webpack
    Vicia
        3
    Vicia  
       Oct 5, 2016 via iPhone
    我学习的时候 grunt 似乎都不推荐学习。所以直接学了 gulp 。现在 webpack 也很值得一学。
    exoticknight
        4
    exoticknight  
       Oct 5, 2016
    webpack
    hasbug
        5
    hasbug  
       Oct 5, 2016
    gulp , webpack 总感觉现在接触的项目都不合适用······
    SourceMan
        6
    SourceMan  
       Oct 5, 2016 via iPhone
    webpack , gulp 也过时了
    MinskyNg
        7
    MinskyNg  
       Oct 5, 2016
    npm scripts + webpack
    FrankFang128
        8
    FrankFang128  
       Oct 5, 2016 via Android
    现在 npm script 逼哥最高
    peneazy
        9
    peneazy  
    OP
       Oct 5, 2016 via Android
    @hasbug 嗯 先入手 gulp 了 看了下 webpack ,感觉不适合现在的我
    liujin834
        10
    liujin834  
       Oct 5, 2016
    gulp
    an168bang521
        11
    an168bang521  
       Oct 5, 2016
    用 gulp ,配合 IDEA 感觉还行;
    Geeker
        12
    Geeker  
       Oct 5, 2016
    哈哈,现在 npm script + makefile 逼格最高
    bramblex
        13
    bramblex  
       Oct 5, 2016 via Android
    我连 makefile 都在用, makefile 的自动依赖处理,静态模式简直 666 , 10 行代码就能为我的自造语言 smooth 编译整个工程。
    bramblex
        14
    bramblex  
       Oct 5, 2016 via Android
    话说可以造一个轮子,用来实时追踪文件依赖的并且重编译,今晚有心情就写出来
    indooorsman
        15
    indooorsman  
       Oct 5, 2016 via Android
    webpack + npm scripts
    jellybool
        16
    jellybool  
       Oct 5, 2016
    可以直接考虑 rollup : http://rollupjs.org/
    zomco
        17
    zomco  
       Oct 5, 2016
    webpack 也快过时了。
    greatghoul
        18
    greatghoul  
       Oct 5, 2016
    gulp, grunt, rollup 都已经过时了,现在流行 sucks
    123s
        19
    123s  
       Oct 5, 2016 via Android
    L3ve
        20
    L3ve  
       Oct 5, 2016
    不是 brunch 吗?最新的构建工具,实用的话还是 glup+webpack
    Gem
        22
    Gem  
       Oct 5, 2016
    Dan Abramov: I actually like that web people can ’ t agree on anything. Pushing the platform forward!
    https://twitter.com/dan_abramov/status/783389345432633344
    cxbig
        23
    cxbig  
       Oct 5, 2016
    webpack +1
    kiscall
        24
    kiscall  
       Oct 5, 2016
    刚开始的时候看过一点 grunt ,后来直接上 webpack ,目前一直在使用
    foreverpdq
        25
    foreverpdq  
       Oct 5, 2016
    gulp 用的人多
    think2011
        26
    think2011  
       Oct 5, 2016
    gulp, webpack, 目测接下来会是 rollup or webpack2
    kirainmoe
        27
    kirainmoe  
       Oct 5, 2016 via Android
    之前用过 grunt ,不过早些时候已经转 webpack 了……
    ibigbug
        28
    ibigbug  
       Oct 5, 2016
    穿越了?
    abnerchou
        29
    abnerchou  
       Oct 5, 2016
    13 格有点高,还是静静用淘汰的 grunt ……
    awesomes
        30
    awesomes  
       Oct 5, 2016
    直接 npm script 那需要什么 grunt gulp
    chemandy
        31
    chemandy  
       Oct 5, 2016
    gulp 、 webpack 、 npm script 三者混用中...
    wobuhuicode
        32
    wobuhuicode  
       Oct 5, 2016 via iPhone
    很多时候是跟着团队走的,以前团队用 webpack ,自己做项目就用 webpage ,现在团队用 gulp ,我自己做项目就习惯着两者混用,
    df4VW
        33
    df4VW  
       Oct 5, 2016
    gulp 和 webpack 不冲突,不过趋势是只用 webpack + npmscripts 了
    professorz
        34
    professorz  
       Oct 5, 2016
    webpack 为主,见一些好的开源项目用的是 gulp+webpack 准备学一下 gulp
    murmur
        35
    murmur  
       Oct 5, 2016
    grunt 和 webpack 都很在用
    codelegant
        36
    codelegant  
       Oct 5, 2016 via Android
    框架是 react ,理所当然的 npm script & webpack
    abcdGJJ
        37
    abcdGJJ  
       Oct 6, 2016
    webpack & gulp
    kitalphaj
        38
    kitalphaj  
       Oct 6, 2016
    前端果然进化神速。。。我感觉 grunt 才没多久啊。。。
    wwek
        39
    wwek  
       Oct 6, 2016
    楼上有人说 webpack 都要过时了。 omg
    josephok
        40
    josephok  
       Oct 6, 2016
    gulp 和 grunt 都过时了,用 webpack
    jinzhe
        41
    jinzhe  
       Oct 6, 2016
    不管用哪个能解决问题就好了!何必浮躁!!!
    dantegg
        42
    dantegg  
       Oct 6, 2016
    什么? webpack 都要过时了?
    XadillaX
        43
    XadillaX  
       Oct 6, 2016
    Makefile + Webpack + Gulp
    franklinyu
        44
    franklinyu  
       Oct 7, 2016
    Makefile 這種上古神器居然還有人用…… 真讓人懷念
    SPACELAN
        45
    SPACELAN  
       Oct 7, 2016
    npm scripts 哈哈哈
    DeepCold
        46
    DeepCold  
       Oct 7, 2016
    @greatghoul sucks 是啥。。 Google 了一圈没找到
    peneazy
        47
    peneazy  
    OP
       Oct 7, 2016
    @DeepCold 估计是自己造的轮子
    greatghoul
        48
    greatghoul  
       Oct 7, 2016
    @DeepCold 随便写的,根本没有这玩意儿。。。
    DeepCold
        49
    DeepCold  
       Oct 7, 2016
    @greatghoul 哈哈哈 大哥大哥! 我服了
    fengerzh
        50
    fengerzh  
       Oct 19, 2016
    从 grunt 直接跳到了 webpack ,没有用过 gulp
    peneazy
        51
    peneazy  
    OP
       Nov 30, 2016 via Android
    现在只专注用 webpack 打包 vue 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3743 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 125ms · UTC 04:30 · PVG 12:30 · LAX 21:30 · JFK 00:30
    ♥ Do have faith in what you're doing.