Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@automattic/babel-plugin-i18n-calypso

Package Overview
Dependencies
Maintainers
40
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
217
decreased by-7.26%
Maintainers
40
Weekly downloads
 
Created
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

Package last updated on 05 Aug 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc