5.5.9 • Published 5 months ago
@intlayer/babel v5.5.9
@intlayer/babel: Babel plugin for Intlayer internationalization
Intlayer is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, Next.js, and Express.js.
The @intlayer/babel package is a Babel plugin that transforms Intlayer declaration files and provides internationalization features during the build process according to the Intlayer configuration.
Usage
Add the plugin to your Babel configuration:
{
"plugins": ["@intlayer/babel"]
}Or with options:
{
"plugins": [
[
"@intlayer/babel",
{
"configPath": "./intlayer.config.js"
}
]
]
}Installation
Install the necessary package using your preferred package manager:
npm install @intlayer/babelpnpm add @intlayer/babelyarn add @intlayer/babel