gulp-potomo-js
v1.0.1
Published
A Gulp plugin to compile .po files into binary .mo files written in JavaScript only.
Downloads
545
Readme
gulp-potomo-js
A Gulp plugin to compile .po files into binary .mo files written in JavaScript only.
Requirements
- This plugin requires Gulp
Install
npm install --save-dev gulp-potomo-js
Usage
const gulp = require('gulp');
const poToMo = require('gulp-potomo-js');
gulp.task('default', () =>
gulp.src('src/languages/*.po')
.pipe(poToMo())
.pipe(gulp.dest('dist/languages'))
);
Options
No options at the moment.
License
MIT © wunderfarm