Skip to content

hopsor/po-brunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

po-brunch

Adds Portable Object support to brunch.

With this plugin you will be able to import translation .po files in Javascript.

It basically converts .po files into javascript objects which can be used in libraries like Jed.

Installation

Install the plugin via npm with npm install --save-dev po-brunch.

Configuration

This plugin relies on library po2json. The configuration you can use in portableObject brunch plugin key is the same you can use with po2json parse methods.

modules.exports = {
  // ...
  plugins: {
    portableObject: {
      format: 'raw'
    }
  }
};

Releases

No releases published

Packages

No packages published