JSPM

gulp-potomo-js

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35
  • Score
    100M100P100Q64015F
  • License MIT

A Gulp plugin to compile .po files into binary .mo files written in JavaScript only.

Package Exports

  • gulp-potomo-js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-potomo-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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