Skip to content

kaliberjs/po-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kaliber/po-loader

Simple webpack loader for po files

Installation

yarn add @kaliber/po-loader

Usage

This package is made to work with webpack but is used by kaliber in combination with @kaliber/build

// config/default.js

module.exports = {
  webpackLoaders: [
    {
      test: /\.po$/,
      loaders: [{ loader: '@kaliber/po-loader' }]
    },
  ],
}
import nl from '/translations/nl.po' // this will return the parsed contents of the po file

// your application that reads the contents of the po file.

Disclaimer

This library is intended for internal use, we provide no support, use at your own risk.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published