@inline-i18n-multi/babel-plugin 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +52 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ > **Important:** For complete documentation, examples, and best practices, please read the [full documentation on GitHub](https://github.com/exiivy98/inline-i18n-multi).
2
+
3
+ # @inline-i18n-multi/babel-plugin
4
+
5
+ Babel plugin for inline-i18n-multi build-time optimization.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @inline-i18n-multi/babel-plugin --save-dev
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Add to your Babel config:
16
+
17
+ ```json
18
+ {
19
+ "plugins": ["@inline-i18n-multi/babel-plugin"]
20
+ }
21
+ ```
22
+
23
+ ### With Options
24
+
25
+ ```json
26
+ {
27
+ "plugins": [
28
+ ["@inline-i18n-multi/babel-plugin", {
29
+ "defaultLocale": "en",
30
+ "locales": ["en", "ko", "ja"]
31
+ }]
32
+ ]
33
+ }
34
+ ```
35
+
36
+ ## What It Does
37
+
38
+ This plugin optimizes `it()` calls at build time by:
39
+ - Extracting translations for static analysis
40
+ - Enabling dead code elimination for unused locales
41
+ - Improving runtime performance
42
+
43
+ ## Documentation
44
+
45
+ **Please read the [full documentation on GitHub](https://github.com/exiivy98/inline-i18n-multi)** for:
46
+ - Complete API reference
47
+ - Framework integrations (React, Next.js)
48
+ - Best practices and examples
49
+
50
+ ## License
51
+
52
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inline-i18n-multi/babel-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Babel plugin for inline-i18n-multi build-time optimization",
5
5
  "keywords": [
6
6
  "babel-plugin",
@@ -12,7 +12,7 @@
12
12
  "author": "",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/user/inline-i18n-multi.git",
15
+ "url": "https://github.com/exiivy98/inline-i18n-multi.git",
16
16
  "directory": "packages/babel-plugin"
17
17
  },
18
18
  "main": "./dist/index.js",