@lingui/babel-plugin-lingui-macro
Babel plugin for transforming Lingui Macros
Last updated 2 years ago by andrii.bodnar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @lingui/babel-plugin-lingui-macro 
SYNC missed versions from official npm registry.

License Version Downloads

@lingui/babel-plugin-lingui-macro

Babel plugin that transforms Lingui compile-time macros into optimized runtime calls

@lingui/babel-plugin-lingui-macro 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 plugin expands the macros from @lingui/core/macro, @lingui/react/macro and @lingui/solid/macro at build time into ICU messages and calls to the Lingui runtime. Projects that compile with SWC use @lingui/swc-plugin instead.

Installation

npm install --save-dev @lingui/babel-plugin-lingui-macro

Usage

See the Babel setup in the installation guide.

License

This package is licensed under the MIT license.

Current Tags

  • 5.1.2                                ...           canary (2 years ago)
  • 6.12.0                                ...           latest (24 days ago)
  • 6.0.0-next.4                                ...           next (7 months ago)

51 Versions

  • 6.12.0                                ...           24 days ago
  • 6.11.0                                ...           a month ago
  • 6.10.1                                ...           a month ago
  • 6.10.0                                ...           a month ago
  • 6.9.1                                ...           2 months ago
  • 6.9.0                                ...           2 months ago
  • 6.8.0                                ...           2 months ago
  • 6.7.0                                ...           3 months ago
  • 6.6.0                                ...           4 months ago
  • 6.5.0                                ...           5 months ago
  • 6.4.0                                ...           5 months ago
  • 6.3.0                                ...           6 months ago
  • 6.2.0                                ...           6 months ago
  • 6.1.0                                ...           6 months ago
  • 6.0.1                                ...           7 months ago
  • 6.0.0                                ...           7 months ago
  • 6.0.0-next.4                                ...           7 months ago
  • 5.9.5                                ...           8 months ago
  • 6.0.0-next.3                                ...           8 months ago
  • 6.0.0-next.2                                ...           8 months ago
  • 5.9.4                                ...           8 months ago
  • 5.9.3                                ...           8 months ago
  • 6.0.0-next.1                                ...           9 months ago
  • 5.9.2                                ...           9 months ago
  • 6.0.0-next.0                                ...           9 months ago
  • 5.9.1                                ...           10 months ago
  • 5.9.0                                ...           10 months ago
  • 5.8.0                                ...           10 months ago
  • 5.7.0                                ...           a year ago
  • 5.6.1                                ...           a year ago
  • 5.6.0                                ...           a year ago
  • 5.5.2                                ...           a year ago
  • 5.5.1                                ...           a year ago
  • 5.5.0                                ...           a year ago
  • 5.4.1                                ...           a year ago
  • 5.4.0                                ...           a year ago
  • 5.3.3                                ...           a year ago
  • 5.3.2                                ...           2 years ago
  • 5.3.1                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.2                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 5.0.0-next.5                                ...           2 years ago
  • 5.0.0-next.4                                ...           2 years ago
  • 5.0.0-next.3                                ...           2 years ago
  • 5.0.0-next.2                                ...           2 years ago
  • 5.0.0-next.1                                ...           2 years ago
  • 5.0.0-next.0                                ...           2 years ago
Downloads
Total 140
Today 0
This Week 4
This Month 68
Last Day 0
Last Week 1
Last Month 69
Dependencies (6)
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE