タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

GruntとTipsに関するefclのブックマーク (4)

  • Maintainable Gruntfile.js - from scratch

    さてさて、前回の続きです。 オレはgruntのエコシステムに乗って楽をしたい、でもGruntfile.jsが長くなりすぎて辛い、grunt taskが時間がかかりすぎて辛い、という話は話で分かります。また、それに対する色んな解決策もあります。 最近出た、HTML5Rocksで紹介されてたやり方もあるし、いくつか先人の知恵もあるので、解決していきましょう。 Gruntfile.jsが長くなりすぎて辛い時 https://github.com/firstandthird/load-grunt-configを使いましょう。 いろんなtipsを見てきましたが、このライブラリが一番分かりやすく、かつGruntfile.jsをメンテナブルに保つことができます。 load-grunt-configには3つの機能があります。 grunt pluginの自動ロード機能 grunt configのファイル分割

    Maintainable Gruntfile.js - from scratch
    efcl
    efcl 2014/02/22
    load-grunt-configを使ったタスクのファイル分割、time-gruntを使った実行時間の計測とでのタスクにキャッシュ機構の追加や並列実行などの実行時間の改善などについて
  • Learn web development  |  web.dev

    Web Platform Dive into the web platform, at your pace.

    Learn web development  |  web.dev
    efcl
    efcl 2014/02/15
    Grunt pluginの自動ロードにload-grunt-tasks、設定ファイルの分割、変更されたファイルのみを対象にする `grunt-newer`、並行実行でのビルド時間削減、通知について等
  • Grunt Tips and Tricks - Pony Foo

    A relevant ad will be displayed here soon. These ads help pay for my hosting. Please consider disabling your ad blocker on Pony Foo. These ads help pay for my hosting. In a Pinch Always --save-dev Heroku Custom Buildpack Forget grunt.loadNpmTasks Spread out watch Use a nice JSHint reporter Keep your Gruntfile organized! Investigate These are explained and detailed below. grunt.png Always --save-de

    Grunt Tips and Tricks - Pony Foo
    efcl
    efcl 2013/11/14
    Grunt Tips集。 loadNpmTasksをまとめる、watchをまとめすぎると遅くなるので分ける、JSHintレポーター、ファイル分割について
  • More maintainable Gruntfiles

    One of the awesome things about Grunt is how easy it is to configure. Unlike the imperative tasks in a Rakefile or a Makefile, Grunt has a simple, declarative configuration. A Gruntfile is simply a JS file that loads tasks and sets up the configuration. A traditional Gruntfile, like this one from Grunt's documentation, looks like this: This is an awesomely powerful build setup - concatination, min

    efcl
    efcl 2013/09/02
    Gruntfiesのメンテナンス性をあげるにあどうするべきかという記事。 load-grunt-tasks でloadNpmTasksをまとめる、タスクをファイルにわけて読み込んで使うようにする等
  • 1