You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
phi I'm a Game Programmer and Frontend Engineer passionate about programming education. Math / C / C++ / C# / JavaScript / HTML5 / CSS3 / Python hoge.js ã minify ãããã¡ã¤ã«ã hoge.min.js ã¨ã㦠åºåããæ¹æ³ã§ã. gulp-rename ã£ã¦ãã¤ã使ãã¾ã. æ¡å¼µåã .js ãã .min.js ã«å¤æãã gulp-rename ã¨ããã¿ã¹ã¯ã使ãã¾ã. ä¸è¨ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ã. $npm install --save-dev gulp-rename ã¤ãã§ã« uglify ã $npm install --save-dev gulp-uglify ãã¨ã¯ gulpfile.js ã«ä¸è¨ã®ãããªã¿ã¹
軽éãªãã¼ã¯ã¢ããè¨èª Jade å ¥é ããã® Gulp ã§ã³ã³ãã¤ã«ã¾ã§ - Gulp ã§ä½ã Web ããã³ãã¨ã³ãéçºç°å¢ #5 wakamsha 2015.04.24 190 12187486 ããã¾ã§ãã£ã¨ Rails ã§ã®éçºããã¦ããã®ã§è»½éãã¼ã¯ã¢ããè¨èªã« Slim ã使ã£ã¦ãã¾ããããGulp ç°å¢ã«ãªã£ã¦ãåããããªè¨èªã§ãã¼ã¯ã¢ãããããã®ã§ Jade ãå°å ¥ãã¦ã¿ããã¨æãã¾ãã ãµã³ãã«ã³ã¼ãã¯ãã¡ãããã©ããã wakamsha/try_gulp Jade ã¨ã¯ Jade is a high performance template engine heavily influenced by Haml and implemented with JavaScript for node and browsers. For bug reports, feature r
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã®ãã¹ãã¯ãWhy I Left Gulp and Grunt for npm Scriptsãçè ã®è¨±è«¾ãå¾ã¦æ訳ãããã®ã§ããééããããã¾ãããããææããã ããã¨å¹¸ãã§ãã ï¼ä»¥ä¸ãè¨³ï¼ ç§ã¯Gulpã¨Gruntãä¸è¦ãªæ½è±¡åã¬ã¤ã¤ã¼ã ã¨æ°ã¥ãã¾ãããnpmã®scriptsã¯ã¨ã¦ãå¼·åã§ããã£ã¡ã®æ¹ã便å©ã ã£ãããã¾ãã ä¾ãæãã¾ããã ç§ã¯ãã¤ã¦ã¯Gulpã大好ãã§ããããããçµå±ã®ã¨ããã100è¡ãã®gulpfileã¨å¤§éã®gulpãã©ã°ã¤ã³ãæ±ããã¡ã«ãªãã¾ãããGulpä¸ã§WebpackãBrowsersyncãMo
ããã³ãã¨ã³ãã®ãã«ããã¼ã«ã¨ããã¨Gruntã ããã¡ã¯ãã¹ã¿ã³ãã¼ãã«ãªã£ã¦ããæããã¾ããã ãã以å¤ã®é¸æè¢ã£ã¦ä½ãããããªã¨ãã話ã§ãã Gulp Gulpã¯ã¹ããªã¼ãã³ã°å¼ã®ãã«ããã¼ã«ã§ãã è¨å®ã¯gulpfileã«è¨è¿°ãã¾ãã gulp = require 'gulp' coffee = require 'gulp-coffee' concat = require 'gulp-concat' uglify = require 'gulp-uglify' gulp.task 'compile', -> gulp.src('./src/*.coffee') .pipe(coffee()) .pipe(concat('all.js')) .pipe(uglify()) .pipe(gulp.dest('./dist/')) è¨è¿°æ¹æ³ã¯Gruntã¨éãããã®ããã«gulp.src(
gulp-hologramãå°å ¥ãã¦ã¿ã gulpã®taskãæ¸ãã¦ããã®ã§ãã¹ã¿ã¤ã«ã¬ã¤ãã¸ã§ãã¬ã¼ã¿ãå°å ¥ãã¦ã¿ã¾ããã ãã¾ãã¾CodeGridã§ãhologramï¼ããã°ã©ã ï¼ãã¨ããã¹ã¿ã¤ã«ã¬ã¤ãã¸ã§ãã¬ã¼ã¿ãç´¹ä»ããã¦ããã®ã§å°å ¥ãã¦ã¿ã¾ããã Hologram â Style Documentation Build System hologramã¯ãRubyã§æ¸ãããã¹ã¿ã¤ã«ã¬ã¤ãã¸ã§ãã¬ã¼ã¿ã§ãã CodeGridã®è¨äºã§ãæ¸ããã¦ãã¾ããããè¥ããªã¼ãã³ã½ã¼ã¹ããã¸ã§ã¯ãã®ããããã¥ã¡ã³ããè±å¯ã§ã¯ãªãã»æ°ã®å©ãããã³ãã¬ã¼ããç¨æããã¦ããããã§ã¯ãªãããã§ãã ä»åãå°å ¥ãããã³ãã¬ã¼ããCodeGridã§ä½æããããã³ãã¬ã¼ãåãè¾¼ãå½¢ã§å¯¾å¿ãã¾ããã ã®ã¡ã»ã©ãã½ã¼ã¹ãèªãã§èªåã§ã«ã¹ã¿ãã¤ãºããäºå®ã§ãã https://github.com/codegrid/
ã¯ããã« ãã®è¨äºã¯Gulp.jsï¼å ¨ä¿ºï¼ Advent Calendar 2014ã§ãã ååã®ããããã¯ãããGulpï¼24ï¼ï¼gulp.spritesmithãã©ã°ã¤ã³ã§Spriteã¤ã¡ã¼ã¸ãä½ãã§Spriteã¤ã¡ã¼ã¸ãä½ãã¾ãããä»åã¯gulp-hologramãã©ã°ã¤ã³ã¨ã¹ã¿ã¤ã«ã¬ã¤ãã¸ã§ãã¬ã¼ã¿ã®Hologramã使ã£ã¦ã¹ã¿ã¤ã«ã¬ã¤ããä½ã£ã¦ã¿ããã¨æãã¾ãã Hologramã«ã¤ã㦠Hologramã¯Rubyç°å¢ã§åãã¹ã¿ã¤ã«ã¬ã¤ãã¸ã§ãã¬ã¼ã¿ã§ããHologramã¯ç¬èªã®ãã³ãã¬ã¼ãã使ã£ã¦ã¹ã¿ã¤ã«ã¬ã¤ããã«ã¹ã¿ãã¤ãºãããã¨ãã§ãã¾ããã¹ã¿ã¤ã«ã¬ã¤ãã¸ã§ãã¬ã¼ã¿ã«ã¯ä»ã«ãStyleDoccoãKnyle Style Sheetsãããã¾ãã Rubyç°å¢ã®æºå Gemfileã«gem "hologram"ã追è¨ãã¦$ bundle installãæ¸ã¾ãã¾ãã sour
ããã«ã¡ã¯ãã·ãã¢ã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã®id:taraoã§ããã¯ã¦ãªã¨ã³ã¸ãã¢ã¢ããã³ãã«ã¬ã³ãã¼2014ã®21æ¥ç®ã¨ãã¦ãä¾åå ã®ãã¡ã¤ã«ãæ´æ°ããããã³ã³ãã¤ã«ããªããå¦çãgulpã§å®ç¾ããæ¹æ³ã«ã¤ãã¦ãã¨ãã«Lessãä¾ã«ã¨ã£ã¦ç´¹ä»ãã¾ãã ã¯ã¦ãªã§ã¯ãJavaScriptãCSSãªã©ã®éçãã¡ã¤ã«ãTypeScriptãLessãªã©ããã³ã³ãã¤ã«ãã¦çæãããã¨ãå¢ãã¦ãã¾ããCSS(Less)ã¯ä¸»ã«ãã¶ã¤ããæ¸ããããã³ã³ãã¤ã«æé ã¯ã§ããéãç°¡åã«ããå¿ è¦ãããã¾ããå¤ãã®ãã¼ã ã§ã¯ããµã¼ãã¢ããªã±ã¼ã·ã§ã³ããã¼ã«ã«ç°å¢ã§å®è¡ãã¦ããæä¸ã¯ãã¡ã¤ã«ã®å¤æ´ã«å¿ãã¦èªåçã«ã³ã³ãã¤ã«ããªããããã«ãªã£ã¦ãã¾ãã ãã¡ã¤ã«ã®æ´æ°ç£è¦ããã³ã³ãã¤ã«ã¾ã§ã®å¦çã«ã¯Gruntãªã©ã使ã£ã¦ãã¾ããããã³ã³ãã¤ã«å¯¾è±¡ã®ãã¡ã¤ã«ã«ä¾åé¢ä¿ãããå ´åãä¾åå ã®ãã¡ã¤ã«ã®å¤æ´ã«å¿ãã¦ä¾åå ã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}