Created
July 2, 2015 12:28
-
-
Save AndreyKopylov/112a194d1514f7f6a603 to your computer and use it in GitHub Desktop.
localize.coffee
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp = require 'gulp' | |
i18n = require 'gulp-html-i18n' | |
dest = '../public' | |
index = '../*.html' | |
gulp.task 'build:localize', -> | |
gulp.src(index) | |
.pipe i18n | |
langDir: './lang' | |
trace: true | |
.pipe gulp.dest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment