Socket
Socket
Sign inDemoInstall

@automattic/babel-plugin-i18n-calypso

Package Overview
Dependencies
64
Maintainers
40
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @automattic/babel-plugin-i18n-calypso

A Babel plugin to generate a POT file for translate calls


Version published
Weekly downloads
753
increased by19.71%
Maintainers
40
Install size
2.00 MB
Created
Weekly downloads
 

Readme

Source

Babel plugin i18n Calypso

A Babel plugin to generate a POT file for translate calls. Works with i18n-calypso translate and @wordpress/i18n __, _n, _x, _nx calls.

Usage

Include in your Babel configuration as a plugin.

Example Babel config file:

{
	"plugins": [ "@automattic/babel-plugin-i18n-calypso" ]
}

Options

  • dir - Set the output directory for the POT files.
  • base - Set a base path that will be used as a base for the relative path to the source file in the reference comment.

FAQs

Last updated on 05 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your 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