npm.io
6.12.0 • Published 3 weeks ago

@lingui/loader

Licence
MIT
Version
6.12.0
Deps
2
Size
10 kB
Vulns
0
Weekly
0
Stars
5.9K

License Version Downloads

@lingui/loader

Webpack-compatible loader that compiles Lingui message catalogs on the fly, so .po files can be imported directly

@lingui/loader is part of Lingui. Lingui is a lightweight, open-source internationalization (i18n) library for JavaScript and TypeScript. It brings compile-time macros and a CLI for message extraction to React, React Native, Vue, SolidJS, Astro, Svelte, and Node.js.

The loader works with Webpack, Rspack and Rsbuild and replaces the lingui compile step.

Usage

See the loader reference.

License

This package is licensed under the MIT license.

Keywords