gulp-messageformat

0.1.0 • Public • Published

gulp-messageformat

Gulp plugin for Messageformat

Install

npm install gulp-messageformat --save-dev

Usage

Returns compiled and concated file.

var gulp = require('gulp');
var messageFormat = require('gulp-messageformat');
 
gulp.task('compile', function() {
  gulp.src('src/**/*.json')
    .pipe(messageFormat({ locale:'en' }))
    .pipe(gulp.dest('dist/');
});

Options

locale

Type: string

Default: 'en'

Values: see messageformatjs locale option

namespace

Type: ?string

Values: {'module.exports', null}

Default: 'i18n'

Readme

Keywords

Package Sidebar

Install

npm i gulp-messageformat

Weekly Downloads

4

Version

0.1.0

License

Apache License, Version 2.0

Unpacked Size

14.4 kB

Total Files

4

Last publish

Collaborators

  • microx
  • mjancarik