0.1.1 • Published 4 years ago

@sidp/parcel-plugin-po v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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:']);