Socket
Socket
Sign inDemoInstall

@lingui/babel-plugin-extract-messages

Package Overview
Dependencies
0
Maintainers
2
Versions
132
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

@lingui/babel-plugin-extract-messages

Babel plugin for collecting messages from source code for internationalization

    4.7.1latest
    GitHub
    npm

Version published
Maintainers
2
Weekly downloads
119,933
increased by3.19%

Weekly downloads

Changelog

Source

4.7.1 (2024-02-20)

Bug Fixes

  • compile should generate a TS file (#1851) (e4fbd59)
  • core: use named instead of default export for unraw lib (#1837) (85f0944)
  • don't replace octothorpe coming from variable (#1850) (e321729)

Readme

Source

License Version Downloads

@lingui/babel-plugin-extract-messages

Babel plugin which extracts messages for translation from source files

@lingui/babel-plugin-extract-messages is part of LinguiJS. See the documentation for all information, tutorials and examples.

Installation

npm install --save-dev @lingui/babel-plugin-extract-messages
# yarn add --dev @lingui/babel-plugin-extract-messages

Usage

.babelrc

{
  "plugins": ["@lingui/babel-plugin-extract-messages"]
}

Via CLI

babel --plugins @lingui/babel-plugin-extract-messages script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["@lingui/babel-plugin-extract-messages"]
})

License

MIT

Keywords

FAQs

Last updated on 20 Feb 2024

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc