Skip to content

sidp/parcel-plugin-po

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parcel plugin

This is a plugin for Parcel that allows importing PO files. It's a tiny wrapper around po2json.

Installation

npm install @sidp/parcel-plugin-po

Usage

example.po:

msgid "Pages:"
msgstr "Sidor:"
import strings from './example.po';

console.log(strings['Pages:']);

Releases

No releases published

Packages

No packages published