@intlayer/docs 9.0.0-canary.6 → 9.0.0-canary.7

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 (642) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +80 -0
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +80 -0
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +4 -0
  6. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  7. package/docs/ar/compiler.md +6 -3
  8. package/docs/ar/custom_domains.md +8 -2
  9. package/docs/ar/custom_url_rewrites.md +8 -2
  10. package/docs/ar/intlayer_with_analog.md +5 -1
  11. package/docs/ar/intlayer_with_astro.md +2 -0
  12. package/docs/ar/intlayer_with_astro_lit.md +2 -0
  13. package/docs/ar/intlayer_with_astro_preact.md +2 -0
  14. package/docs/ar/intlayer_with_astro_react.md +2 -0
  15. package/docs/ar/intlayer_with_astro_solid.md +2 -0
  16. package/docs/ar/intlayer_with_astro_svelte.md +2 -0
  17. package/docs/ar/intlayer_with_astro_vanilla.md +2 -0
  18. package/docs/ar/intlayer_with_astro_vue.md +2 -0
  19. package/docs/ar/intlayer_with_lynx+react.md +6 -1
  20. package/docs/ar/intlayer_with_nextjs_16.md +2 -0
  21. package/docs/ar/intlayer_with_nextjs_compiler.md +2 -0
  22. package/docs/ar/intlayer_with_react_native+expo.md +6 -1
  23. package/docs/ar/intlayer_with_react_router_v7.md +3 -1
  24. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -1
  25. package/docs/ar/intlayer_with_storybook.md +7 -1
  26. package/docs/ar/intlayer_with_svelte_kit.md +8 -3
  27. package/docs/ar/intlayer_with_tanstack+solid.md +18 -11
  28. package/docs/ar/intlayer_with_tanstack.md +16 -7
  29. package/docs/ar/intlayer_with_vite+lit.md +8 -2
  30. package/docs/ar/intlayer_with_vite+preact.md +2 -0
  31. package/docs/ar/intlayer_with_vite+react.md +8 -3
  32. package/docs/ar/intlayer_with_vite+react_compiler.md +9 -2
  33. package/docs/ar/intlayer_with_vite+solid.md +2 -0
  34. package/docs/ar/intlayer_with_vite+svelte.md +4 -2
  35. package/docs/ar/intlayer_with_vite+vanilla.md +16 -5
  36. package/docs/ar/intlayer_with_vite+vue.md +8 -3
  37. package/docs/ar/packages/@intlayer_babel/export.md +131 -0
  38. package/docs/ar/packages/vite-intlayer/intlayerCompiler.md +120 -0
  39. package/docs/ar/packages/vite-intlayer/intlayerMinify.md +92 -0
  40. package/docs/ar/packages/vite-intlayer/intlayerProxy.md +172 -0
  41. package/docs/ar/releases/v9.md +45 -1
  42. package/docs/bn/custom_domains.md +8 -2
  43. package/docs/bn/intlayer_with_storybook.md +7 -1
  44. package/docs/bn/intlayer_with_vite+lit.md +8 -2
  45. package/docs/bn/intlayer_with_vite+vanilla.md +16 -5
  46. package/docs/cs/custom_domains.md +8 -2
  47. package/docs/cs/intlayer_with_storybook.md +7 -1
  48. package/docs/cs/intlayer_with_vite+lit.md +8 -2
  49. package/docs/cs/intlayer_with_vite+vanilla.md +16 -5
  50. package/docs/de/compiler.md +6 -3
  51. package/docs/de/custom_domains.md +8 -2
  52. package/docs/de/custom_url_rewrites.md +8 -2
  53. package/docs/de/intlayer_with_analog.md +5 -1
  54. package/docs/de/intlayer_with_astro.md +3 -1
  55. package/docs/de/intlayer_with_astro_lit.md +3 -1
  56. package/docs/de/intlayer_with_astro_preact.md +3 -1
  57. package/docs/de/intlayer_with_astro_react.md +3 -1
  58. package/docs/de/intlayer_with_astro_solid.md +3 -1
  59. package/docs/de/intlayer_with_astro_svelte.md +3 -1
  60. package/docs/de/intlayer_with_astro_vanilla.md +3 -1
  61. package/docs/de/intlayer_with_astro_vue.md +3 -1
  62. package/docs/de/intlayer_with_lynx+react.md +6 -1
  63. package/docs/de/intlayer_with_nextjs_16.md +2 -0
  64. package/docs/de/intlayer_with_nextjs_compiler.md +2 -0
  65. package/docs/de/intlayer_with_react_native+expo.md +6 -1
  66. package/docs/de/intlayer_with_react_router_v7.md +3 -1
  67. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +8 -3
  68. package/docs/de/intlayer_with_storybook.md +7 -1
  69. package/docs/de/intlayer_with_svelte_kit.md +9 -4
  70. package/docs/de/intlayer_with_tanstack+solid.md +18 -11
  71. package/docs/de/intlayer_with_tanstack.md +17 -8
  72. package/docs/de/intlayer_with_vite+lit.md +13 -4
  73. package/docs/de/intlayer_with_vite+preact.md +3 -1
  74. package/docs/de/intlayer_with_vite+react.md +9 -4
  75. package/docs/de/intlayer_with_vite+react_compiler.md +9 -2
  76. package/docs/de/intlayer_with_vite+solid.md +3 -1
  77. package/docs/de/intlayer_with_vite+svelte.md +9 -4
  78. package/docs/de/intlayer_with_vite+vanilla.md +16 -5
  79. package/docs/de/intlayer_with_vite+vue.md +9 -4
  80. package/docs/de/packages/@intlayer_babel/export.md +131 -0
  81. package/docs/de/packages/vite-intlayer/intlayerCompiler.md +120 -0
  82. package/docs/de/packages/vite-intlayer/intlayerMinify.md +92 -0
  83. package/docs/de/packages/vite-intlayer/intlayerProxy.md +172 -0
  84. package/docs/de/releases/v9.md +23 -1
  85. package/docs/en/compiler.md +5 -1
  86. package/docs/en/custom_domains.md +8 -2
  87. package/docs/en/custom_url_rewrites.md +8 -2
  88. package/docs/en/intlayer_with_analog.md +5 -1
  89. package/docs/en/intlayer_with_astro.md +2 -2
  90. package/docs/en/intlayer_with_astro_lit.md +2 -2
  91. package/docs/en/intlayer_with_astro_preact.md +2 -2
  92. package/docs/en/intlayer_with_astro_react.md +2 -2
  93. package/docs/en/intlayer_with_astro_solid.md +2 -2
  94. package/docs/en/intlayer_with_astro_svelte.md +2 -2
  95. package/docs/en/intlayer_with_astro_vanilla.md +2 -2
  96. package/docs/en/intlayer_with_astro_vue.md +2 -2
  97. package/docs/en/intlayer_with_lynx+react.md +6 -1
  98. package/docs/en/intlayer_with_nextjs_16.md +2 -0
  99. package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
  100. package/docs/en/intlayer_with_react_native+expo.md +6 -1
  101. package/docs/en/intlayer_with_react_router_v7.md +8 -3
  102. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +8 -3
  103. package/docs/en/intlayer_with_storybook.md +7 -1
  104. package/docs/en/intlayer_with_svelte_kit.md +8 -5
  105. package/docs/en/intlayer_with_tanstack+solid.md +18 -9
  106. package/docs/en/intlayer_with_tanstack.md +16 -7
  107. package/docs/en/intlayer_with_vite+lit.md +13 -4
  108. package/docs/en/intlayer_with_vite+preact.md +8 -3
  109. package/docs/en/intlayer_with_vite+react.md +8 -3
  110. package/docs/en/intlayer_with_vite+react_compiler.md +9 -2
  111. package/docs/en/intlayer_with_vite+solid.md +8 -3
  112. package/docs/en/intlayer_with_vite+svelte.md +8 -3
  113. package/docs/en/intlayer_with_vite+vanilla.md +15 -6
  114. package/docs/en/intlayer_with_vite+vue.md +8 -3
  115. package/docs/en/packages/@intlayer_babel/export.md +131 -0
  116. package/docs/en/packages/vite-intlayer/exports.md +38 -13
  117. package/docs/en/packages/vite-intlayer/intlayer.md +133 -14
  118. package/docs/en/packages/vite-intlayer/intlayerCompiler.md +120 -0
  119. package/docs/en/packages/vite-intlayer/intlayerMinify.md +92 -0
  120. package/docs/en/packages/vite-intlayer/intlayerProxy.md +172 -0
  121. package/docs/en/packages/vite-intlayer/intlayerPrune.md +90 -12
  122. package/docs/en/releases/v9.md +25 -1
  123. package/docs/en-GB/compiler.md +6 -3
  124. package/docs/en-GB/custom_domains.md +8 -2
  125. package/docs/en-GB/custom_url_rewrites.md +8 -2
  126. package/docs/en-GB/intlayer_with_analog.md +5 -1
  127. package/docs/en-GB/intlayer_with_astro.md +2 -0
  128. package/docs/en-GB/intlayer_with_astro_lit.md +2 -0
  129. package/docs/en-GB/intlayer_with_astro_preact.md +2 -0
  130. package/docs/en-GB/intlayer_with_astro_react.md +2 -0
  131. package/docs/en-GB/intlayer_with_astro_solid.md +2 -0
  132. package/docs/en-GB/intlayer_with_astro_svelte.md +2 -0
  133. package/docs/en-GB/intlayer_with_astro_vanilla.md +2 -0
  134. package/docs/en-GB/intlayer_with_astro_vue.md +2 -0
  135. package/docs/en-GB/intlayer_with_lynx+react.md +6 -1
  136. package/docs/en-GB/intlayer_with_react_native+expo.md +6 -1
  137. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -3
  138. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -3
  139. package/docs/en-GB/intlayer_with_storybook.md +7 -1
  140. package/docs/en-GB/intlayer_with_svelte_kit.md +6 -3
  141. package/docs/en-GB/intlayer_with_tanstack+solid.md +18 -11
  142. package/docs/en-GB/intlayer_with_tanstack.md +14 -7
  143. package/docs/en-GB/intlayer_with_vite+lit.md +13 -4
  144. package/docs/en-GB/intlayer_with_vite+react.md +6 -3
  145. package/docs/en-GB/intlayer_with_vite+react_compiler.md +9 -2
  146. package/docs/en-GB/intlayer_with_vite+svelte.md +6 -3
  147. package/docs/en-GB/intlayer_with_vite+vanilla.md +15 -4
  148. package/docs/en-GB/intlayer_with_vite+vue.md +6 -3
  149. package/docs/en-GB/packages/@intlayer_babel/export.md +131 -0
  150. package/docs/en-GB/packages/vite-intlayer/intlayerCompiler.md +120 -0
  151. package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +92 -0
  152. package/docs/en-GB/packages/vite-intlayer/intlayerProxy.md +172 -0
  153. package/docs/en-GB/releases/v9.md +23 -1
  154. package/docs/es/compiler.md +6 -3
  155. package/docs/es/custom_domains.md +8 -2
  156. package/docs/es/custom_url_rewrites.md +8 -2
  157. package/docs/es/intlayer_with_analog.md +5 -1
  158. package/docs/es/intlayer_with_astro.md +3 -1
  159. package/docs/es/intlayer_with_astro_lit.md +3 -1
  160. package/docs/es/intlayer_with_astro_preact.md +3 -1
  161. package/docs/es/intlayer_with_astro_react.md +3 -1
  162. package/docs/es/intlayer_with_astro_solid.md +3 -1
  163. package/docs/es/intlayer_with_astro_svelte.md +3 -1
  164. package/docs/es/intlayer_with_astro_vanilla.md +3 -1
  165. package/docs/es/intlayer_with_astro_vue.md +3 -1
  166. package/docs/es/intlayer_with_lynx+react.md +6 -1
  167. package/docs/es/intlayer_with_nextjs_16.md +2 -0
  168. package/docs/es/intlayer_with_nextjs_compiler.md +2 -0
  169. package/docs/es/intlayer_with_react_native+expo.md +6 -1
  170. package/docs/es/intlayer_with_react_router_v7.md +3 -1
  171. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +9 -4
  172. package/docs/es/intlayer_with_storybook.md +7 -1
  173. package/docs/es/intlayer_with_svelte_kit.md +9 -4
  174. package/docs/es/intlayer_with_tanstack+solid.md +18 -11
  175. package/docs/es/intlayer_with_tanstack.md +17 -8
  176. package/docs/es/intlayer_with_vite+lit.md +13 -4
  177. package/docs/es/intlayer_with_vite+preact.md +3 -1
  178. package/docs/es/intlayer_with_vite+react.md +9 -4
  179. package/docs/es/intlayer_with_vite+react_compiler.md +9 -2
  180. package/docs/es/intlayer_with_vite+solid.md +3 -1
  181. package/docs/es/intlayer_with_vite+svelte.md +4 -2
  182. package/docs/es/intlayer_with_vite+vanilla.md +16 -5
  183. package/docs/es/intlayer_with_vite+vue.md +9 -4
  184. package/docs/es/packages/@intlayer_babel/export.md +131 -0
  185. package/docs/es/packages/vite-intlayer/intlayerCompiler.md +120 -0
  186. package/docs/es/packages/vite-intlayer/intlayerMinify.md +92 -0
  187. package/docs/es/packages/vite-intlayer/intlayerProxy.md +172 -0
  188. package/docs/es/releases/v9.md +23 -1
  189. package/docs/fr/compiler.md +6 -3
  190. package/docs/fr/custom_domains.md +8 -2
  191. package/docs/fr/custom_url_rewrites.md +8 -2
  192. package/docs/fr/intlayer_with_analog.md +5 -1
  193. package/docs/fr/intlayer_with_astro.md +3 -1
  194. package/docs/fr/intlayer_with_astro_lit.md +3 -1
  195. package/docs/fr/intlayer_with_astro_preact.md +3 -1
  196. package/docs/fr/intlayer_with_astro_react.md +3 -1
  197. package/docs/fr/intlayer_with_astro_solid.md +3 -1
  198. package/docs/fr/intlayer_with_astro_svelte.md +3 -1
  199. package/docs/fr/intlayer_with_astro_vanilla.md +3 -1
  200. package/docs/fr/intlayer_with_astro_vue.md +3 -1
  201. package/docs/fr/intlayer_with_lynx+react.md +6 -1
  202. package/docs/fr/intlayer_with_nextjs_16.md +2 -0
  203. package/docs/fr/intlayer_with_nextjs_compiler.md +2 -0
  204. package/docs/fr/intlayer_with_react_native+expo.md +6 -1
  205. package/docs/fr/intlayer_with_react_router_v7.md +3 -1
  206. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -1
  207. package/docs/fr/intlayer_with_storybook.md +7 -1
  208. package/docs/fr/intlayer_with_svelte_kit.md +9 -4
  209. package/docs/fr/intlayer_with_tanstack+solid.md +18 -11
  210. package/docs/fr/intlayer_with_tanstack.md +17 -8
  211. package/docs/fr/intlayer_with_vite+lit.md +13 -4
  212. package/docs/fr/intlayer_with_vite+preact.md +3 -1
  213. package/docs/fr/intlayer_with_vite+react.md +9 -4
  214. package/docs/fr/intlayer_with_vite+react_compiler.md +9 -2
  215. package/docs/fr/intlayer_with_vite+solid.md +3 -1
  216. package/docs/fr/intlayer_with_vite+svelte.md +9 -4
  217. package/docs/fr/intlayer_with_vite+vanilla.md +16 -5
  218. package/docs/fr/intlayer_with_vite+vue.md +9 -4
  219. package/docs/fr/packages/@intlayer_babel/export.md +131 -0
  220. package/docs/fr/packages/vite-intlayer/intlayerCompiler.md +120 -0
  221. package/docs/fr/packages/vite-intlayer/intlayerMinify.md +92 -0
  222. package/docs/fr/packages/vite-intlayer/intlayerProxy.md +172 -0
  223. package/docs/fr/releases/v9.md +23 -1
  224. package/docs/hi/compiler.md +6 -3
  225. package/docs/hi/custom_domains.md +8 -2
  226. package/docs/hi/custom_url_rewrites.md +8 -2
  227. package/docs/hi/intlayer_with_analog.md +5 -1
  228. package/docs/hi/intlayer_with_astro.md +6 -3
  229. package/docs/hi/intlayer_with_astro_lit.md +6 -3
  230. package/docs/hi/intlayer_with_astro_preact.md +6 -3
  231. package/docs/hi/intlayer_with_astro_react.md +6 -3
  232. package/docs/hi/intlayer_with_astro_solid.md +6 -3
  233. package/docs/hi/intlayer_with_astro_svelte.md +6 -3
  234. package/docs/hi/intlayer_with_astro_vanilla.md +6 -3
  235. package/docs/hi/intlayer_with_astro_vue.md +6 -3
  236. package/docs/hi/intlayer_with_lynx+react.md +6 -1
  237. package/docs/hi/intlayer_with_react_native+expo.md +6 -1
  238. package/docs/hi/intlayer_with_react_router_v7.md +6 -3
  239. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -3
  240. package/docs/hi/intlayer_with_storybook.md +7 -1
  241. package/docs/hi/intlayer_with_svelte_kit.md +12 -6
  242. package/docs/hi/intlayer_with_tanstack+solid.md +18 -11
  243. package/docs/hi/intlayer_with_tanstack.md +20 -10
  244. package/docs/hi/intlayer_with_vite+lit.md +8 -2
  245. package/docs/hi/intlayer_with_vite+preact.md +6 -3
  246. package/docs/hi/intlayer_with_vite+react.md +12 -6
  247. package/docs/hi/intlayer_with_vite+react_compiler.md +9 -2
  248. package/docs/hi/intlayer_with_vite+solid.md +6 -3
  249. package/docs/hi/intlayer_with_vite+svelte.md +7 -4
  250. package/docs/hi/intlayer_with_vite+vanilla.md +16 -5
  251. package/docs/hi/intlayer_with_vite+vue.md +12 -6
  252. package/docs/hi/packages/@intlayer_babel/export.md +131 -0
  253. package/docs/hi/packages/vite-intlayer/intlayerCompiler.md +120 -0
  254. package/docs/hi/packages/vite-intlayer/intlayerMinify.md +92 -0
  255. package/docs/hi/packages/vite-intlayer/intlayerProxy.md +172 -0
  256. package/docs/hi/releases/v9.md +23 -1
  257. package/docs/id/compiler.md +6 -3
  258. package/docs/id/custom_domains.md +8 -2
  259. package/docs/id/custom_url_rewrites.md +8 -2
  260. package/docs/id/intlayer_with_analog.md +5 -1
  261. package/docs/id/intlayer_with_astro.md +3 -1
  262. package/docs/id/intlayer_with_astro_lit.md +3 -1
  263. package/docs/id/intlayer_with_astro_preact.md +3 -1
  264. package/docs/id/intlayer_with_astro_react.md +3 -1
  265. package/docs/id/intlayer_with_astro_solid.md +3 -1
  266. package/docs/id/intlayer_with_astro_svelte.md +3 -1
  267. package/docs/id/intlayer_with_astro_vanilla.md +3 -1
  268. package/docs/id/intlayer_with_astro_vue.md +3 -1
  269. package/docs/id/intlayer_with_lynx+react.md +6 -1
  270. package/docs/id/intlayer_with_nextjs_16.md +2 -0
  271. package/docs/id/intlayer_with_nextjs_compiler.md +2 -0
  272. package/docs/id/intlayer_with_react_native+expo.md +6 -1
  273. package/docs/id/intlayer_with_react_router_v7.md +3 -1
  274. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +9 -4
  275. package/docs/id/intlayer_with_storybook.md +7 -1
  276. package/docs/id/intlayer_with_svelte_kit.md +9 -4
  277. package/docs/id/intlayer_with_tanstack+solid.md +18 -11
  278. package/docs/id/intlayer_with_tanstack.md +17 -8
  279. package/docs/id/intlayer_with_vite+lit.md +8 -2
  280. package/docs/id/intlayer_with_vite+preact.md +3 -1
  281. package/docs/id/intlayer_with_vite+react.md +9 -4
  282. package/docs/id/intlayer_with_vite+react_compiler.md +9 -2
  283. package/docs/id/intlayer_with_vite+solid.md +3 -1
  284. package/docs/id/intlayer_with_vite+svelte.md +5 -3
  285. package/docs/id/intlayer_with_vite+vanilla.md +16 -5
  286. package/docs/id/intlayer_with_vite+vue.md +9 -4
  287. package/docs/id/packages/@intlayer_babel/export.md +131 -0
  288. package/docs/id/packages/vite-intlayer/intlayerCompiler.md +120 -0
  289. package/docs/id/packages/vite-intlayer/intlayerMinify.md +92 -0
  290. package/docs/id/packages/vite-intlayer/intlayerProxy.md +172 -0
  291. package/docs/id/releases/v9.md +23 -1
  292. package/docs/it/compiler.md +6 -3
  293. package/docs/it/custom_domains.md +8 -2
  294. package/docs/it/custom_url_rewrites.md +8 -2
  295. package/docs/it/intlayer_with_analog.md +5 -1
  296. package/docs/it/intlayer_with_astro.md +3 -1
  297. package/docs/it/intlayer_with_astro_lit.md +3 -1
  298. package/docs/it/intlayer_with_astro_preact.md +3 -1
  299. package/docs/it/intlayer_with_astro_react.md +3 -1
  300. package/docs/it/intlayer_with_astro_solid.md +3 -1
  301. package/docs/it/intlayer_with_astro_svelte.md +3 -1
  302. package/docs/it/intlayer_with_astro_vanilla.md +3 -1
  303. package/docs/it/intlayer_with_astro_vue.md +3 -1
  304. package/docs/it/intlayer_with_lynx+react.md +6 -1
  305. package/docs/it/intlayer_with_nextjs_16.md +2 -0
  306. package/docs/it/intlayer_with_nextjs_compiler.md +2 -0
  307. package/docs/it/intlayer_with_react_native+expo.md +6 -1
  308. package/docs/it/intlayer_with_react_router_v7.md +3 -1
  309. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -1
  310. package/docs/it/intlayer_with_storybook.md +7 -1
  311. package/docs/it/intlayer_with_svelte_kit.md +9 -4
  312. package/docs/it/intlayer_with_tanstack+solid.md +18 -11
  313. package/docs/it/intlayer_with_tanstack.md +17 -8
  314. package/docs/it/intlayer_with_vite+lit.md +13 -4
  315. package/docs/it/intlayer_with_vite+preact.md +3 -1
  316. package/docs/it/intlayer_with_vite+react.md +9 -4
  317. package/docs/it/intlayer_with_vite+react_compiler.md +9 -2
  318. package/docs/it/intlayer_with_vite+solid.md +3 -1
  319. package/docs/it/intlayer_with_vite+svelte.md +4 -2
  320. package/docs/it/intlayer_with_vite+vanilla.md +16 -5
  321. package/docs/it/intlayer_with_vite+vue.md +9 -4
  322. package/docs/it/packages/@intlayer_babel/export.md +131 -0
  323. package/docs/it/packages/vite-intlayer/intlayerCompiler.md +120 -0
  324. package/docs/it/packages/vite-intlayer/intlayerMinify.md +92 -0
  325. package/docs/it/packages/vite-intlayer/intlayerProxy.md +172 -0
  326. package/docs/it/releases/v9.md +23 -1
  327. package/docs/ja/compiler.md +6 -3
  328. package/docs/ja/custom_domains.md +8 -2
  329. package/docs/ja/custom_url_rewrites.md +8 -2
  330. package/docs/ja/intlayer_with_analog.md +5 -1
  331. package/docs/ja/intlayer_with_astro.md +2 -0
  332. package/docs/ja/intlayer_with_astro_lit.md +2 -0
  333. package/docs/ja/intlayer_with_astro_preact.md +2 -0
  334. package/docs/ja/intlayer_with_astro_react.md +2 -0
  335. package/docs/ja/intlayer_with_astro_solid.md +2 -0
  336. package/docs/ja/intlayer_with_astro_svelte.md +2 -0
  337. package/docs/ja/intlayer_with_astro_vanilla.md +2 -0
  338. package/docs/ja/intlayer_with_astro_vue.md +2 -0
  339. package/docs/ja/intlayer_with_lynx+react.md +6 -1
  340. package/docs/ja/intlayer_with_nextjs_16.md +2 -0
  341. package/docs/ja/intlayer_with_nextjs_compiler.md +2 -0
  342. package/docs/ja/intlayer_with_react_native+expo.md +6 -1
  343. package/docs/ja/intlayer_with_react_router_v7.md +8 -3
  344. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -1
  345. package/docs/ja/intlayer_with_storybook.md +7 -1
  346. package/docs/ja/intlayer_with_svelte_kit.md +2 -0
  347. package/docs/ja/intlayer_with_tanstack+solid.md +18 -11
  348. package/docs/ja/intlayer_with_tanstack.md +18 -11
  349. package/docs/ja/intlayer_with_vite+lit.md +13 -4
  350. package/docs/ja/intlayer_with_vite+preact.md +8 -3
  351. package/docs/ja/intlayer_with_vite+react.md +3 -1
  352. package/docs/ja/intlayer_with_vite+react_compiler.md +9 -2
  353. package/docs/ja/intlayer_with_vite+solid.md +3 -1
  354. package/docs/ja/intlayer_with_vite+svelte.md +5 -3
  355. package/docs/ja/intlayer_with_vite+vanilla.md +16 -5
  356. package/docs/ja/intlayer_with_vite+vue.md +9 -4
  357. package/docs/ja/packages/@intlayer_babel/export.md +131 -0
  358. package/docs/ja/packages/vite-intlayer/intlayerCompiler.md +120 -0
  359. package/docs/ja/packages/vite-intlayer/intlayerMinify.md +92 -0
  360. package/docs/ja/packages/vite-intlayer/intlayerProxy.md +172 -0
  361. package/docs/ja/releases/v9.md +23 -1
  362. package/docs/ko/compiler.md +6 -3
  363. package/docs/ko/custom_domains.md +8 -2
  364. package/docs/ko/custom_url_rewrites.md +8 -2
  365. package/docs/ko/intlayer_with_analog.md +5 -1
  366. package/docs/ko/intlayer_with_astro.md +3 -1
  367. package/docs/ko/intlayer_with_astro_lit.md +3 -1
  368. package/docs/ko/intlayer_with_astro_preact.md +3 -1
  369. package/docs/ko/intlayer_with_astro_react.md +3 -1
  370. package/docs/ko/intlayer_with_astro_solid.md +3 -1
  371. package/docs/ko/intlayer_with_astro_svelte.md +3 -1
  372. package/docs/ko/intlayer_with_astro_vanilla.md +3 -1
  373. package/docs/ko/intlayer_with_astro_vue.md +3 -1
  374. package/docs/ko/intlayer_with_lynx+react.md +6 -1
  375. package/docs/ko/intlayer_with_nextjs_16.md +2 -0
  376. package/docs/ko/intlayer_with_nextjs_compiler.md +2 -0
  377. package/docs/ko/intlayer_with_react_native+expo.md +6 -1
  378. package/docs/ko/intlayer_with_react_router_v7.md +3 -1
  379. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -1
  380. package/docs/ko/intlayer_with_storybook.md +7 -1
  381. package/docs/ko/intlayer_with_svelte_kit.md +9 -4
  382. package/docs/ko/intlayer_with_tanstack+solid.md +18 -11
  383. package/docs/ko/intlayer_with_tanstack.md +17 -8
  384. package/docs/ko/intlayer_with_vite+lit.md +13 -4
  385. package/docs/ko/intlayer_with_vite+preact.md +3 -1
  386. package/docs/ko/intlayer_with_vite+react.md +3 -1
  387. package/docs/ko/intlayer_with_vite+react_compiler.md +9 -2
  388. package/docs/ko/intlayer_with_vite+svelte.md +5 -3
  389. package/docs/ko/intlayer_with_vite+vanilla.md +16 -5
  390. package/docs/ko/intlayer_with_vite+vue.md +9 -4
  391. package/docs/ko/packages/@intlayer_babel/export.md +131 -0
  392. package/docs/ko/packages/vite-intlayer/intlayerCompiler.md +120 -0
  393. package/docs/ko/packages/vite-intlayer/intlayerMinify.md +92 -0
  394. package/docs/ko/packages/vite-intlayer/intlayerProxy.md +172 -0
  395. package/docs/ko/releases/v9.md +23 -1
  396. package/docs/nl/custom_domains.md +8 -2
  397. package/docs/nl/intlayer_with_storybook.md +7 -1
  398. package/docs/nl/intlayer_with_vite+lit.md +8 -2
  399. package/docs/nl/intlayer_with_vite+vanilla.md +16 -5
  400. package/docs/pl/compiler.md +6 -3
  401. package/docs/pl/custom_domains.md +8 -2
  402. package/docs/pl/custom_url_rewrites.md +8 -2
  403. package/docs/pl/intlayer_with_analog.md +5 -1
  404. package/docs/pl/intlayer_with_astro.md +6 -4
  405. package/docs/pl/intlayer_with_astro_lit.md +3 -1
  406. package/docs/pl/intlayer_with_astro_preact.md +3 -1
  407. package/docs/pl/intlayer_with_astro_react.md +3 -1
  408. package/docs/pl/intlayer_with_astro_solid.md +3 -1
  409. package/docs/pl/intlayer_with_astro_svelte.md +3 -1
  410. package/docs/pl/intlayer_with_astro_vanilla.md +3 -1
  411. package/docs/pl/intlayer_with_astro_vue.md +3 -1
  412. package/docs/pl/intlayer_with_lynx+react.md +6 -1
  413. package/docs/pl/intlayer_with_nextjs_16.md +2 -0
  414. package/docs/pl/intlayer_with_nextjs_compiler.md +2 -0
  415. package/docs/pl/intlayer_with_react_native+expo.md +6 -1
  416. package/docs/pl/intlayer_with_react_router_v7.md +3 -1
  417. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +3 -1
  418. package/docs/pl/intlayer_with_storybook.md +7 -1
  419. package/docs/pl/intlayer_with_svelte_kit.md +9 -4
  420. package/docs/pl/intlayer_with_tanstack+solid.md +18 -9
  421. package/docs/pl/intlayer_with_tanstack.md +17 -8
  422. package/docs/pl/intlayer_with_vite+lit.md +8 -2
  423. package/docs/pl/intlayer_with_vite+preact.md +3 -1
  424. package/docs/pl/intlayer_with_vite+react.md +9 -4
  425. package/docs/pl/intlayer_with_vite+react_compiler.md +9 -2
  426. package/docs/pl/intlayer_with_vite+solid.md +3 -1
  427. package/docs/pl/intlayer_with_vite+svelte.md +4 -2
  428. package/docs/pl/intlayer_with_vite+vanilla.md +16 -5
  429. package/docs/pl/intlayer_with_vite+vue.md +9 -4
  430. package/docs/pl/packages/@intlayer_babel/export.md +131 -0
  431. package/docs/pl/packages/vite-intlayer/intlayerCompiler.md +120 -0
  432. package/docs/pl/packages/vite-intlayer/intlayerMinify.md +92 -0
  433. package/docs/pl/packages/vite-intlayer/intlayerProxy.md +172 -0
  434. package/docs/pl/releases/v9.md +23 -1
  435. package/docs/pt/compiler.md +6 -3
  436. package/docs/pt/custom_domains.md +8 -2
  437. package/docs/pt/custom_url_rewrites.md +8 -2
  438. package/docs/pt/intlayer_with_analog.md +5 -1
  439. package/docs/pt/intlayer_with_astro.md +6 -4
  440. package/docs/pt/intlayer_with_astro_lit.md +3 -1
  441. package/docs/pt/intlayer_with_astro_preact.md +3 -1
  442. package/docs/pt/intlayer_with_astro_react.md +3 -1
  443. package/docs/pt/intlayer_with_astro_solid.md +3 -1
  444. package/docs/pt/intlayer_with_astro_svelte.md +3 -1
  445. package/docs/pt/intlayer_with_astro_vanilla.md +3 -1
  446. package/docs/pt/intlayer_with_astro_vue.md +3 -1
  447. package/docs/pt/intlayer_with_lynx+react.md +6 -1
  448. package/docs/pt/intlayer_with_nextjs_16.md +2 -0
  449. package/docs/pt/intlayer_with_nextjs_compiler.md +2 -0
  450. package/docs/pt/intlayer_with_react_native+expo.md +6 -1
  451. package/docs/pt/intlayer_with_react_router_v7.md +8 -3
  452. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -1
  453. package/docs/pt/intlayer_with_storybook.md +7 -1
  454. package/docs/pt/intlayer_with_svelte_kit.md +9 -4
  455. package/docs/pt/intlayer_with_tanstack+solid.md +18 -9
  456. package/docs/pt/intlayer_with_tanstack.md +17 -8
  457. package/docs/pt/intlayer_with_vite+lit.md +13 -4
  458. package/docs/pt/intlayer_with_vite+preact.md +3 -1
  459. package/docs/pt/intlayer_with_vite+react.md +9 -4
  460. package/docs/pt/intlayer_with_vite+react_compiler.md +9 -2
  461. package/docs/pt/intlayer_with_vite+solid.md +3 -1
  462. package/docs/pt/intlayer_with_vite+svelte.md +4 -2
  463. package/docs/pt/intlayer_with_vite+vanilla.md +16 -5
  464. package/docs/pt/intlayer_with_vite+vue.md +9 -4
  465. package/docs/pt/packages/@intlayer_babel/export.md +131 -0
  466. package/docs/pt/packages/vite-intlayer/intlayerCompiler.md +120 -0
  467. package/docs/pt/packages/vite-intlayer/intlayerMinify.md +92 -0
  468. package/docs/pt/packages/vite-intlayer/intlayerProxy.md +172 -0
  469. package/docs/pt/releases/v9.md +23 -1
  470. package/docs/ru/compiler.md +6 -3
  471. package/docs/ru/custom_domains.md +8 -2
  472. package/docs/ru/custom_url_rewrites.md +8 -2
  473. package/docs/ru/intlayer_with_analog.md +5 -1
  474. package/docs/ru/intlayer_with_astro.md +3 -1
  475. package/docs/ru/intlayer_with_astro_lit.md +3 -1
  476. package/docs/ru/intlayer_with_astro_preact.md +3 -1
  477. package/docs/ru/intlayer_with_astro_react.md +3 -1
  478. package/docs/ru/intlayer_with_astro_solid.md +3 -1
  479. package/docs/ru/intlayer_with_astro_svelte.md +3 -1
  480. package/docs/ru/intlayer_with_astro_vanilla.md +3 -1
  481. package/docs/ru/intlayer_with_astro_vue.md +3 -1
  482. package/docs/ru/intlayer_with_lynx+react.md +6 -1
  483. package/docs/ru/intlayer_with_nextjs_16.md +2 -0
  484. package/docs/ru/intlayer_with_nextjs_compiler.md +2 -0
  485. package/docs/ru/intlayer_with_react_native+expo.md +6 -1
  486. package/docs/ru/intlayer_with_react_router_v7.md +3 -1
  487. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -1
  488. package/docs/ru/intlayer_with_storybook.md +7 -1
  489. package/docs/ru/intlayer_with_svelte_kit.md +9 -4
  490. package/docs/ru/intlayer_with_tanstack+solid.md +18 -11
  491. package/docs/ru/intlayer_with_tanstack.md +17 -8
  492. package/docs/ru/intlayer_with_vite+lit.md +13 -4
  493. package/docs/ru/intlayer_with_vite+preact.md +3 -1
  494. package/docs/ru/intlayer_with_vite+react.md +9 -4
  495. package/docs/ru/intlayer_with_vite+react_compiler.md +9 -2
  496. package/docs/ru/intlayer_with_vite+solid.md +3 -1
  497. package/docs/ru/intlayer_with_vite+svelte.md +4 -2
  498. package/docs/ru/intlayer_with_vite+vanilla.md +16 -5
  499. package/docs/ru/intlayer_with_vite+vue.md +9 -4
  500. package/docs/ru/packages/@intlayer_babel/export.md +131 -0
  501. package/docs/ru/packages/vite-intlayer/intlayerCompiler.md +120 -0
  502. package/docs/ru/packages/vite-intlayer/intlayerMinify.md +92 -0
  503. package/docs/ru/packages/vite-intlayer/intlayerProxy.md +172 -0
  504. package/docs/ru/releases/v9.md +23 -1
  505. package/docs/tr/compiler.md +6 -3
  506. package/docs/tr/custom_domains.md +8 -2
  507. package/docs/tr/custom_url_rewrites.md +8 -2
  508. package/docs/tr/intlayer_with_analog.md +5 -1
  509. package/docs/tr/intlayer_with_astro_lit.md +3 -1
  510. package/docs/tr/intlayer_with_astro_preact.md +3 -1
  511. package/docs/tr/intlayer_with_astro_react.md +3 -1
  512. package/docs/tr/intlayer_with_astro_solid.md +3 -1
  513. package/docs/tr/intlayer_with_astro_svelte.md +3 -1
  514. package/docs/tr/intlayer_with_astro_vanilla.md +3 -1
  515. package/docs/tr/intlayer_with_astro_vue.md +3 -1
  516. package/docs/tr/intlayer_with_lynx+react.md +6 -1
  517. package/docs/tr/intlayer_with_nextjs_16.md +2 -0
  518. package/docs/tr/intlayer_with_nextjs_compiler.md +2 -0
  519. package/docs/tr/intlayer_with_react_native+expo.md +6 -1
  520. package/docs/tr/intlayer_with_react_router_v7.md +3 -1
  521. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -1
  522. package/docs/tr/intlayer_with_storybook.md +7 -1
  523. package/docs/tr/intlayer_with_svelte_kit.md +9 -4
  524. package/docs/tr/intlayer_with_tanstack+solid.md +18 -11
  525. package/docs/tr/intlayer_with_tanstack.md +17 -8
  526. package/docs/tr/intlayer_with_vite+lit.md +8 -2
  527. package/docs/tr/intlayer_with_vite+preact.md +3 -1
  528. package/docs/tr/intlayer_with_vite+react.md +9 -4
  529. package/docs/tr/intlayer_with_vite+react_compiler.md +9 -2
  530. package/docs/tr/intlayer_with_vite+solid.md +3 -1
  531. package/docs/tr/intlayer_with_vite+svelte.md +4 -2
  532. package/docs/tr/intlayer_with_vite+vanilla.md +16 -5
  533. package/docs/tr/intlayer_with_vite+vue.md +9 -4
  534. package/docs/tr/packages/@intlayer_babel/export.md +131 -0
  535. package/docs/tr/packages/vite-intlayer/intlayerCompiler.md +120 -0
  536. package/docs/tr/packages/vite-intlayer/intlayerMinify.md +92 -0
  537. package/docs/tr/packages/vite-intlayer/intlayerProxy.md +172 -0
  538. package/docs/tr/releases/v9.md +23 -1
  539. package/docs/uk/compiler.md +6 -3
  540. package/docs/uk/custom_domains.md +8 -2
  541. package/docs/uk/custom_url_rewrites.md +8 -2
  542. package/docs/uk/intlayer_with_analog.md +5 -1
  543. package/docs/uk/intlayer_with_astro.md +3 -1
  544. package/docs/uk/intlayer_with_astro_lit.md +3 -1
  545. package/docs/uk/intlayer_with_astro_preact.md +3 -1
  546. package/docs/uk/intlayer_with_astro_react.md +3 -1
  547. package/docs/uk/intlayer_with_astro_solid.md +3 -1
  548. package/docs/uk/intlayer_with_astro_svelte.md +3 -1
  549. package/docs/uk/intlayer_with_astro_vanilla.md +3 -1
  550. package/docs/uk/intlayer_with_astro_vue.md +3 -1
  551. package/docs/uk/intlayer_with_lynx+react.md +6 -1
  552. package/docs/uk/intlayer_with_nextjs_16.md +2 -0
  553. package/docs/uk/intlayer_with_nextjs_compiler.md +2 -0
  554. package/docs/uk/intlayer_with_react_native+expo.md +6 -1
  555. package/docs/uk/intlayer_with_react_router_v7.md +3 -1
  556. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +3 -1
  557. package/docs/uk/intlayer_with_storybook.md +7 -1
  558. package/docs/uk/intlayer_with_svelte_kit.md +9 -4
  559. package/docs/uk/intlayer_with_tanstack+solid.md +18 -11
  560. package/docs/uk/intlayer_with_tanstack.md +17 -8
  561. package/docs/uk/intlayer_with_vite+lit.md +8 -2
  562. package/docs/uk/intlayer_with_vite+preact.md +3 -1
  563. package/docs/uk/intlayer_with_vite+react.md +9 -4
  564. package/docs/uk/intlayer_with_vite+react_compiler.md +9 -2
  565. package/docs/uk/intlayer_with_vite+solid.md +3 -1
  566. package/docs/uk/intlayer_with_vite+svelte.md +9 -4
  567. package/docs/uk/intlayer_with_vite+vanilla.md +16 -5
  568. package/docs/uk/intlayer_with_vite+vue.md +9 -4
  569. package/docs/uk/packages/@intlayer_babel/export.md +131 -0
  570. package/docs/uk/packages/vite-intlayer/intlayerCompiler.md +120 -0
  571. package/docs/uk/packages/vite-intlayer/intlayerMinify.md +92 -0
  572. package/docs/uk/packages/vite-intlayer/intlayerProxy.md +172 -0
  573. package/docs/uk/releases/v9.md +23 -1
  574. package/docs/ur/custom_domains.md +8 -2
  575. package/docs/ur/intlayer_with_storybook.md +7 -1
  576. package/docs/ur/intlayer_with_vite+lit.md +8 -2
  577. package/docs/ur/intlayer_with_vite+vanilla.md +16 -5
  578. package/docs/vi/compiler.md +6 -3
  579. package/docs/vi/custom_domains.md +8 -2
  580. package/docs/vi/custom_url_rewrites.md +8 -2
  581. package/docs/vi/intlayer_with_analog.md +5 -1
  582. package/docs/vi/intlayer_with_astro.md +3 -1
  583. package/docs/vi/intlayer_with_astro_lit.md +3 -1
  584. package/docs/vi/intlayer_with_astro_preact.md +3 -1
  585. package/docs/vi/intlayer_with_astro_react.md +3 -1
  586. package/docs/vi/intlayer_with_astro_solid.md +3 -1
  587. package/docs/vi/intlayer_with_astro_svelte.md +3 -1
  588. package/docs/vi/intlayer_with_astro_vanilla.md +3 -1
  589. package/docs/vi/intlayer_with_astro_vue.md +3 -1
  590. package/docs/vi/intlayer_with_lynx+react.md +6 -1
  591. package/docs/vi/intlayer_with_nextjs_15.md +2 -0
  592. package/docs/vi/intlayer_with_nextjs_16.md +2 -0
  593. package/docs/vi/intlayer_with_nextjs_compiler.md +2 -0
  594. package/docs/vi/intlayer_with_react_native+expo.md +6 -1
  595. package/docs/vi/intlayer_with_react_router_v7.md +3 -1
  596. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +9 -4
  597. package/docs/vi/intlayer_with_storybook.md +7 -1
  598. package/docs/vi/intlayer_with_svelte_kit.md +9 -4
  599. package/docs/vi/intlayer_with_tanstack+solid.md +18 -11
  600. package/docs/vi/intlayer_with_tanstack.md +17 -8
  601. package/docs/vi/intlayer_with_vite+lit.md +8 -2
  602. package/docs/vi/intlayer_with_vite+preact.md +3 -1
  603. package/docs/vi/intlayer_with_vite+react.md +9 -4
  604. package/docs/vi/intlayer_with_vite+react_compiler.md +9 -2
  605. package/docs/vi/intlayer_with_vite+solid.md +3 -1
  606. package/docs/vi/intlayer_with_vite+svelte.md +9 -4
  607. package/docs/vi/intlayer_with_vite+vanilla.md +16 -5
  608. package/docs/vi/intlayer_with_vite+vue.md +9 -4
  609. package/docs/vi/packages/@intlayer_babel/export.md +131 -0
  610. package/docs/vi/packages/vite-intlayer/intlayerCompiler.md +120 -0
  611. package/docs/vi/packages/vite-intlayer/intlayerMinify.md +92 -0
  612. package/docs/vi/packages/vite-intlayer/intlayerProxy.md +172 -0
  613. package/docs/vi/releases/v9.md +23 -1
  614. package/docs/zh/compiler.md +6 -3
  615. package/docs/zh/custom_domains.md +8 -2
  616. package/docs/zh/custom_url_rewrites.md +8 -2
  617. package/docs/zh/intlayer_with_astro.md +3 -1
  618. package/docs/zh/intlayer_with_astro_lit.md +3 -1
  619. package/docs/zh/intlayer_with_astro_preact.md +3 -1
  620. package/docs/zh/intlayer_with_astro_react.md +3 -1
  621. package/docs/zh/intlayer_with_astro_solid.md +3 -1
  622. package/docs/zh/intlayer_with_astro_svelte.md +3 -1
  623. package/docs/zh/intlayer_with_astro_vanilla.md +3 -1
  624. package/docs/zh/intlayer_with_astro_vue.md +3 -1
  625. package/docs/zh/intlayer_with_nextjs_16.md +2 -0
  626. package/docs/zh/intlayer_with_nextjs_compiler.md +2 -0
  627. package/docs/zh/intlayer_with_react_native+expo.md +6 -1
  628. package/docs/zh/intlayer_with_react_router_v7.md +3 -1
  629. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -1
  630. package/docs/zh/intlayer_with_storybook.md +7 -1
  631. package/docs/zh/intlayer_with_svelte_kit.md +9 -4
  632. package/docs/zh/intlayer_with_vite+preact.md +3 -1
  633. package/docs/zh/intlayer_with_vite+react.md +9 -4
  634. package/docs/zh/intlayer_with_vite+svelte.md +9 -4
  635. package/docs/zh/intlayer_with_vite+vue.md +9 -4
  636. package/docs/zh/packages/@intlayer_babel/export.md +131 -0
  637. package/docs/zh/packages/vite-intlayer/intlayerCompiler.md +120 -0
  638. package/docs/zh/packages/vite-intlayer/intlayerMinify.md +92 -0
  639. package/docs/zh/packages/vite-intlayer/intlayerProxy.md +172 -0
  640. package/docs/zh/releases/v9.md +23 -1
  641. package/package.json +6 -6
  642. package/src/generated/docs.entry.ts +80 -0
@@ -231,11 +231,15 @@ export default defineConfig({
231
231
  tanstackStart({
232
232
  router: {
233
233
  routeFileIgnorePattern:
234
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
234
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
235
235
  },
236
236
  }),
237
237
  solidPlugin({ ssr: true }),
238
- intlayer(),
238
+ intlayer({
239
+ proxy: {
240
+ ignore: (req) => req.url?.startsWith("/api"),
241
+ },
242
+ }),
239
243
  ],
240
244
  });
241
245
  ```
@@ -573,22 +577,25 @@ You can also use the `intlayerProxy` to add server-side routing to your applicat
573
577
 
574
578
  > Since Intlayer v9, `intlayerProxy()` is bundled directly into the `intlayer()` plugin and enabled by default through the `routing.enableProxy` option (`true` by default). Registering it separately as shown below is now optional — it is kept for backward compatibility and for setups that need to control plugin order. Set `routing.enableProxy: false` to opt out. See the [v9 release notes](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/releases/v9.md).
575
579
 
576
- ```typescript {7,14-17} fileName="vite.config.ts"
580
+ ```typescript fileName="vite.config.ts"
577
581
  import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
578
582
  import solid from "vite-plugin-solid";
579
583
  import { nitro } from "nitro/vite";
580
584
  import { defineConfig } from "vite";
581
- import { intlayer, intlayerProxy } from "vite-intlayer";
585
+ import { intlayer } from "vite-intlayer";
582
586
 
583
587
  export default defineConfig({
584
588
  plugins: [
585
- intlayerProxy(), // The proxy should be placed before server if you use Nitro
586
589
  nitro(),
587
- intlayer(),
590
+ intlayer({
591
+ proxy: {
592
+ ignore: (req) => req.url?.startsWith("/api"),
593
+ },
594
+ }),
588
595
  tanstackStart({
589
596
  router: {
590
597
  routeFileIgnorePattern:
591
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
598
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
592
599
  },
593
600
  }),
594
601
  solid(),
@@ -831,6 +838,8 @@ bun x intlayer extract
831
838
  </Tab>
832
839
  <Tab value='Babel compiler'>
833
840
 
841
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
842
+
834
843
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
835
844
 
836
845
  ```ts fileName="vite.config.ts"
@@ -846,12 +855,12 @@ export default defineConfig({
846
855
  tanstackStart({
847
856
  router: {
848
857
  routeFileIgnorePattern:
849
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
858
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
850
859
  },
851
860
  }),
852
861
  solidPlugin({ ssr: true }),
853
862
  intlayer(),
854
- intlayerCompiler(),
863
+ intlayerCompiler(), // Adds the compiler plugin
855
864
  ],
856
865
  });
857
866
  ```
@@ -245,11 +245,15 @@ import { intlayer } from "vite-intlayer";
245
245
  const config = defineConfig({
246
246
  plugins: [
247
247
  nitro(),
248
- intlayer(),
248
+ intlayer({
249
+ proxy: {
250
+ ignore: (req) => req.url?.startsWith("/api"),
251
+ },
252
+ }),
249
253
  tanstackStart({
250
254
  router: {
251
255
  routeFileIgnorePattern:
252
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
256
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
253
257
  },
254
258
  }),
255
259
  viteReact(),
@@ -655,22 +659,25 @@ You can also use the `intlayerProxy` to add server-side routing to your applicat
655
659
 
656
660
  > Since Intlayer v9, `intlayerProxy()` is bundled directly into the `intlayer()` plugin and enabled by default through the `routing.enableProxy` option (`true` by default). Registering it separately as shown below is now optional — it is kept for backward compatibility and for setups that need to control plugin order. Set `routing.enableProxy: false` to opt out. See the [v9 release notes](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/releases/v9.md).
657
661
 
658
- ```typescript {7,14-17} fileName="vite.config.ts"
662
+ ```typescript fileName="vite.config.ts"
659
663
  import { tanstackStart } from "@tanstack/react-start/plugin/vite";
660
664
  import viteReact from "@vitejs/plugin-react";
661
665
  import { nitro } from "nitro/vite";
662
666
  import { defineConfig } from "vite";
663
- import { intlayer, intlayerProxy } from "vite-intlayer";
667
+ import { intlayer } from "vite-intlayer";
664
668
 
665
669
  export default defineConfig({
666
670
  plugins: [
667
- intlayerProxy(), // The proxy should be placed before server if you use Nitro
668
671
  nitro(),
669
- intlayer(),
672
+ intlayer({
673
+ proxy: {
674
+ ignore: (req) => req.url?.startsWith("/api"),
675
+ },
676
+ }),
670
677
  tanstackStart({
671
678
  router: {
672
679
  routeFileIgnorePattern:
673
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
680
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
674
681
  },
675
682
  }),
676
683
  viteReact(),
@@ -913,6 +920,8 @@ bun x intlayer extract
913
920
  </Tab>
914
921
  <Tab value='Babel compiler'>
915
922
 
923
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
924
+
916
925
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
917
926
 
918
927
  ```ts fileName="vite.config.ts"
@@ -207,7 +207,13 @@ import { intlayer } from "vite-intlayer";
207
207
 
208
208
  // https://vitejs.dev/config/
209
209
  export default defineConfig({
210
- plugins: [intlayer()],
210
+ plugins: [
211
+ intlayer({
212
+ proxy: {
213
+ ignore: (req) => req.url?.startsWith("/api"),
214
+ },
215
+ }),
216
+ ],
211
217
  });
212
218
  ```
213
219
 
@@ -478,12 +484,15 @@ First, add `intlayerProxy` to your Vite config:
478
484
 
479
485
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
480
486
  import { defineConfig } from "vite";
481
- import { intlayer, intlayerProxy } from "vite-intlayer";
487
+ import { intlayer } from "vite-intlayer";
482
488
 
483
489
  export default defineConfig({
484
490
  plugins: [
485
- intlayerProxy(), // should be placed first
486
- intlayer(),
491
+ intlayer({
492
+ proxy: {
493
+ ignore: (req) => req.url?.startsWith("/api"),
494
+ },
495
+ }),
487
496
  ],
488
497
  });
489
498
  ```
@@ -525,15 +525,18 @@ In parallel, you can also use the `intlayerProxy` to add server-side routing to
525
525
 
526
526
  ```typescript {3,7} fileName="vite.config.ts"
527
527
  import { defineConfig } from "vite";
528
- import { intlayer, intlayerProxy } from "vite-intlayer";
528
+ import { intlayer } from "vite-intlayer";
529
529
  import preact from "@preact/preset-vite";
530
530
 
531
531
  // https://vitejs.dev/config/
532
532
  export default defineConfig({
533
533
  plugins: [
534
- intlayerProxy(), // should be placed first
535
534
  preact(),
536
- intlayer(),
535
+ intlayer({
536
+ proxy: {
537
+ ignore: (req) => req.url?.startsWith("/api"),
538
+ },
539
+ }),
537
540
  ],
538
541
  });
539
542
  ```
@@ -865,6 +868,8 @@ bun x intlayer extract
865
868
  </Tab>
866
869
  <Tab value='Babel compiler'>
867
870
 
871
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
872
+
868
873
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
869
874
 
870
875
  ```ts fileName="vite.config.ts"
@@ -506,14 +506,17 @@ In parallel, you can also use the `intlayerProxy` to add server-side routing to
506
506
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
507
507
  import { defineConfig } from "vite";
508
508
  import react from "@vitejs/plugin-react-swc";
509
- import { intlayer, intlayerProxy } from "vite-intlayer";
509
+ import { intlayer } from "vite-intlayer";
510
510
 
511
511
  // https://vitejs.dev/config/
512
512
  export default defineConfig({
513
513
  plugins: [
514
- intlayerProxy(), // should be placed first
515
514
  react(),
516
- intlayer(),
515
+ intlayer({
516
+ proxy: {
517
+ ignore: (req) => req.url?.startsWith("/api"),
518
+ },
519
+ }),
517
520
  ],
518
521
  });
519
522
  ```
@@ -822,6 +825,8 @@ bun x intlayer extract
822
825
  </Tab>
823
826
  <Tab value='Babel compiler'>
824
827
 
828
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
829
+
825
830
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
826
831
 
827
832
  ```ts fileName="vite.config.ts"
@@ -216,11 +216,18 @@ Add the intlayer plugin into your configuration.
216
216
  ```typescript fileName="vite.config.ts"
217
217
  import { defineConfig } from "vite";
218
218
  import react from "@vitejs/plugin-react-swc";
219
- import { intlayer, intlayerCompiler } from "vite-intlayer";
219
+ import { intlayer } from "vite-intlayer";
220
220
 
221
221
  // https://vitejs.dev/config/
222
222
  export default defineConfig({
223
- plugins: [react(), intlayer(), intlayerCompiler()],
223
+ plugins: [
224
+ react(),
225
+ intlayer({
226
+ proxy: {
227
+ ignore: (req) => req.url?.startsWith("/api"),
228
+ },
229
+ }),
230
+ ],
224
231
  });
225
232
  ```
226
233
 
@@ -572,14 +572,17 @@ In parallel, you can also use the `intlayerProxy` to add server-side routing to
572
572
  ```typescript {3,7} fileName="vite.config.ts"
573
573
  import { defineConfig } from "vite";
574
574
  import solid from "vite-plugin-solid";
575
- import { intlayer, intlayerProxy } from "vite-intlayer";
575
+ import { intlayer } from "vite-intlayer";
576
576
 
577
577
  // https://vitejs.dev/config/
578
578
  export default defineConfig({
579
579
  plugins: [
580
- intlayerProxy(), // should be placed first
581
580
  solid(),
582
- intlayer(),
581
+ intlayer({
582
+ proxy: {
583
+ ignore: (req) => req.url?.startsWith("/api"),
584
+ },
585
+ }),
583
586
  ],
584
587
  });
585
588
  ```
@@ -653,6 +656,8 @@ bun x intlayer extract
653
656
  </Tab>
654
657
  <Tab value='Babel compiler'>
655
658
 
659
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
660
+
656
661
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
657
662
 
658
663
  ```ts fileName="vite.config.ts"
@@ -478,14 +478,17 @@ In parallel, you can also use the `intlayerProxy` to add server-side routing to
478
478
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
479
479
  import { defineConfig } from "vite";
480
480
  import { svelte } from "@sveltejs/vite-plugin-svelte";
481
- import { intlayer, intlayerProxy } from "vite-intlayer";
481
+ import { intlayer } from "vite-intlayer";
482
482
 
483
483
  // https://vitejs.dev/config/
484
484
  export default defineConfig({
485
485
  plugins: [
486
- intlayerProxy(), // should be placed first
487
486
  svelte(),
488
- intlayer(),
487
+ intlayer({
488
+ proxy: {
489
+ ignore: (req) => req.url?.startsWith("/api"),
490
+ },
491
+ }),
489
492
  ],
490
493
  });
491
494
  ```
@@ -620,6 +623,8 @@ bun x intlayer extract
620
623
  </Tab>
621
624
  <Tab value='Babel compiler'>
622
625
 
626
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
627
+
623
628
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
624
629
 
625
630
  ```ts fileName="vite.config.ts"
@@ -205,7 +205,13 @@ import { intlayer } from "vite-intlayer";
205
205
 
206
206
  // https://vitejs.dev/config/
207
207
  export default defineConfig({
208
- plugins: [intlayer()],
208
+ plugins: [
209
+ intlayer({
210
+ proxy: {
211
+ ignore: (req) => req.url?.startsWith("/api"),
212
+ },
213
+ }),
214
+ ],
209
215
  });
210
216
  ```
211
217
 
@@ -468,12 +474,15 @@ First, add `intlayerProxy` to your Vite config:
468
474
 
469
475
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
470
476
  import { defineConfig } from "vite";
471
- import { intlayer, intlayerProxy } from "vite-intlayer";
477
+ import { intlayer } from "vite-intlayer";
472
478
 
473
479
  export default defineConfig({
474
480
  plugins: [
475
- intlayerProxy(), // should be placed first
476
- intlayer(),
481
+ intlayer({
482
+ proxy: {
483
+ ignore: (req) => req.url?.startsWith("/api"),
484
+ },
485
+ }),
477
486
  ],
478
487
  });
479
488
  ```
@@ -608,9 +617,9 @@ bun x intlayer extract
608
617
  </Tab>
609
618
  <Tab value='Babel compiler'>
610
619
 
611
- Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
620
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
612
621
 
613
- > Since Intlayer v9, the compiler is bundled directly into the `intlayer()` plugin and activates automatically once `compiler.enabled` is set with a `compiler.output` path. Registering `intlayerCompiler()` separately as shown below is now optional — it deduplicates itself if also added. See the [v9 release notes](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/releases/v9.md).
622
+ Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
614
623
 
615
624
  ```ts fileName="vite.config.ts"
616
625
  import { defineConfig } from "vite";
@@ -634,14 +634,17 @@ In parallel, you can also use the `intlayerProxy` to add server-side routing to
634
634
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
635
635
  import { defineConfig } from "vite";
636
636
  import vue from "@vitejs/plugin-vue";
637
- import { intlayer, intlayerProxy } from "vite-intlayer";
637
+ import { intlayer } from "vite-intlayer";
638
638
 
639
639
  // https://vitejs.dev/config/
640
640
  export default defineConfig({
641
641
  plugins: [
642
- intlayerProxy(), // should be placed first
643
642
  vue(),
644
- intlayer(),
643
+ intlayer({
644
+ proxy: {
645
+ ignore: (req) => req.url?.startsWith("/api"),
646
+ },
647
+ }),
645
648
  ],
646
649
  });
647
650
  ```
@@ -970,6 +973,8 @@ bun x intlayer extract
970
973
  </Tab>
971
974
  <Tab value='Babel compiler'>
972
975
 
976
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
977
+
973
978
  Update your `vite.config.ts` to include the `intlayerCompiler` plugin:
974
979
 
975
980
  ```ts fileName="vite.config.ts"
@@ -0,0 +1,131 @@
1
+ ---
2
+ createdAt: 2026-06-25
3
+ updatedAt: 2026-06-25
4
+ title: "@intlayer/babel Package Documentation"
5
+ description: Babel plugins for Intlayer to handle content extraction, import optimization, pruning of unused fields, and mangling of field names during build.
6
+ keywords:
7
+ - "@intlayer/babel"
8
+ - babel
9
+ - plugin
10
+ - internationalization
11
+ - i18n
12
+ - compiler
13
+ - optimize
14
+ - purge
15
+ - minify
16
+ slugs:
17
+ - doc
18
+ - packages
19
+ - "@intlayer/babel"
20
+ - export
21
+ history:
22
+ - version: 9.0.0
23
+ date: 2026-06-25
24
+ changes: "Unified documentation of all exports"
25
+ author: aymericzip
26
+ ---
27
+
28
+ # @intlayer/babel Package
29
+
30
+ The `@intlayer/babel` package provides a set of specialized Babel plugins for Intlayer. These plugins cover the entire build cycle: extracting content declarations, rewriting `useIntlayer` / `getIntlayer` calls to optimized dictionary imports, pruning unused fields, and minifying field names.
31
+
32
+ ## Installation
33
+
34
+ ```bash
35
+ npm install @intlayer/babel
36
+ ```
37
+
38
+ ## Exports
39
+
40
+ Import:
41
+
42
+ ```ts
43
+ import { ... } from "@intlayer/babel";
44
+ ```
45
+
46
+ ---
47
+
48
+ ### Plugins
49
+
50
+ | Function / Class | Description |
51
+ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52
+ | `intlayerExtractBabelPlugin` | Babel plugin that extracts translatable content from source files and injects `useIntlayer` / `getIntlayer` hooks automatically. Designed for use with Next.js and Babel-based build tools. |
53
+ | `intlayerOptimizeBabelPlugin` | Babel plugin that transforms `useIntlayer` and `getIntlayer` calls and rewrites their imports to optimized JSON dictionary imports (static, dynamic, or via fetch). |
54
+ | `intlayerPurgeBabelPlugin` | Babel plugin that analyses source files and rewrites compiled dictionary JSON files to remove unused fields (`build.purge`) or rename them to short aliases (`build.minify`). |
55
+ | `intlayerMinifyBabelPlugin` | Babel plugin that rewrites source files to use the short field aliases assigned during the minification phase (e.g. `content.title` ← `content.a`). Relies on `intlayerPurgeBabelPlugin`. |
56
+ | `makeFieldRenameBabelPlugin` | Factory function that produces a Babel plugin to rename dictionary content field accesses in source files according to the `dictionaryKeyToFieldRenameMap` populated in the `PruneContext`. |
57
+ | `makeUsageAnalyzerBabelPlugin` | Factory function that produces a Babel plugin to analyze the usage of `useIntlayer` / `getIntlayer` in the source code and aggregate field usage data in the shared `PruneContext`. |
58
+ | `getSharedPruneContext` | Helper function that returns the shared `PruneContext` object for the specified base directory, or `null` if it has not been initialized yet. |
59
+
60
+ ---
61
+
62
+ ### Plugin Configuration Utilities
63
+
64
+ | Function | Description |
65
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
66
+ | `getExtractPluginOptions` | Loads the Intlayer configuration and returns `ExtractPluginOptions` ready for use with `intlayerExtractBabelPlugin`. |
67
+ | `getOptimizePluginOptions` | Loads the Intlayer configuration and compiled dictionaries, and returns `OptimizePluginOptions` ready for use with `intlayerOptimizeBabelPlugin`. |
68
+ | `getPurgePluginOptions` | Loads the Intlayer configuration and returns `PurgePluginOptions` ready for use with `intlayerPurgeBabelPlugin`. |
69
+ | `getMinifyPluginOptions` | Loads the Intlayer configuration and returns `MinifyPluginOptions` ready for use with `intlayerMinifyBabelPlugin`. |
70
+
71
+ ---
72
+
73
+ ### Types
74
+
75
+ | Type | Description |
76
+ | ----------------------- | --------------------------------------------------------------------------------------------------------------- |
77
+ | `CompilerMode` | Compiler mode: `'dev'` for development with HMR support, or `'build'` for production builds. |
78
+ | `ExtractPluginOptions` | Options for `intlayerExtractBabelPlugin`: files list, configuration, `onExtract` callback, etc. |
79
+ | `ExtractResult` | Extraction result: dictionary key, file path, content, and locale. |
80
+ | `OptimizePluginOptions` | Options for `intlayerOptimizeBabelPlugin`: dictionary paths, import mode, mode map per dictionary, etc. |
81
+ | `PurgePluginOptions` | Options for `intlayerPurgeBabelPlugin`: base directory, purge/minify/optimize flags, component files list. |
82
+ | `MinifyPluginOptions` | Options for `intlayerMinifyBabelPlugin`: base directory, minify/optimize/editorEnabled flags. |
83
+ | `PruneContext` | Shared state between analysis and pruning plugins: field usage maps, rename maps, etc. |
84
+ | `DictionaryFieldUsage` | Field usage result for a single dictionary: `Set<string>` or `'all'` when static analysis is inconclusive. |
85
+ | `NestedRenameEntry` | Node in the rename tree: the shortName and the children map. |
86
+ | `NestedRenameMap` | One level in the rename tree: `Map<string, NestedRenameEntry>`. |
87
+ | `CompatCallerConfig` | Configuration for a compatible usage analyzer for compat-adapter packages (caller name and processing options). |
88
+ | `ScriptBlock` | Script block extracted from a SFC file (Vue or Svelte): content, start offset, and end offset. |
89
+
90
+ ---
91
+
92
+ ### Utility Functions
93
+
94
+ | Function | Description |
95
+ | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
96
+ | `generateShortFieldName` | Converts an integer (starting from zero) into a short alphabetic identifier: `0` → `'a'`, `25` → `'z'`, `26` → `'aa'`, etc. |
97
+ | `buildNestedRenameMapFromContent` | Recursively builds a `NestedRenameMap` from the content value of a compiled dictionary, respecting Intlayer node structures (translation, enumeration, etc.). |
98
+ | `createPruneContext` | Creates a new empty `PruneContext` object initialized with default values. |
99
+ | `extractScriptBlocks` | Extracts `<script>` blocks from SFC files (Vue / Svelte) for subsequent Babel analysis. |
100
+ | `BABEL_PARSER_OPTIONS` | Constant representing Babel parser options covering the supported frameworks (React/Vue/Svelte/Angular/...). |
101
+ | `INTLAYER_CALLER_NAMES` | Constant list of original Intlayer caller names: `['useIntlayer', 'getIntlayer']`. |
102
+
103
+ ---
104
+
105
+ ## Example Usage
106
+
107
+ ```js
108
+ // babel.config.js
109
+ const {
110
+ intlayerExtractBabelPlugin,
111
+ intlayerPurgeBabelPlugin,
112
+ intlayerMinifyBabelPlugin,
113
+ intlayerOptimizeBabelPlugin,
114
+ getExtractPluginOptions,
115
+ getPurgePluginOptions,
116
+ getMinifyPluginOptions,
117
+ getOptimizePluginOptions,
118
+ } = require("@intlayer/babel");
119
+
120
+ module.exports = {
121
+ presets: ["next/babel"],
122
+ plugins: [
123
+ [intlayerExtractBabelPlugin, getExtractPluginOptions()],
124
+ [intlayerPurgeBabelPlugin, getPurgePluginOptions()],
125
+ [intlayerMinifyBabelPlugin, getMinifyPluginOptions()],
126
+ [intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
127
+ ],
128
+ };
129
+ ```
130
+
131
+ > **Note:** The `intlayerPurgeBabelPlugin` must be declared **before** `intlayerMinifyBabelPlugin`, because the latter reads the rename map built by the former. In addition, they both must be preceded by `intlayerOptimizeBabelPlugin` so that it can see the dictionary keys before the `useIntlayer` calls are rewritten.
@@ -1,20 +1,26 @@
1
1
  ---
2
2
  createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
3
+ updatedAt: 2026-06-25
4
4
  title: vite-intlayer Package Documentation
5
- description: Vite plugin for Intlayer, providing dictionary aliases and watchers.
5
+ description: Vite plugin for Intlayer, providing dictionary aliases, watchers, locale routing, and build optimisations.
6
6
  keywords:
7
7
  - vite-intlayer
8
8
  - vite
9
9
  - plugin
10
10
  - internationalization
11
11
  - i18n
12
+ - proxy
13
+ - routing
14
+ - tree-shaking
12
15
  slugs:
13
16
  - doc
14
17
  - packages
15
18
  - vite-intlayer
16
19
  - exports
17
20
  history:
21
+ - version: 9.0.0
22
+ date: 2026-06-25
23
+ changes: "Updated exports index – proxy and compiler now bundled into intlayer(); added intlayerProxy, intlayerCompiler, intlayerMinify docs"
18
24
  - version: 8.0.0
19
25
  date: 2026-01-21
20
26
  changes: "Unified documentation for all exports"
@@ -23,7 +29,7 @@ author: aymericzip
23
29
 
24
30
  # vite-intlayer Package
25
31
 
26
- The `vite-intlayer` package provides a Vite plugin to integrate Intlayer into your Vite-based application.
32
+ The `vite-intlayer` package provides a Vite plugin to integrate Intlayer into your Vite-based application. It handles dictionary compilation, dev-server watching, module aliases, locale-routing middleware, and build-time optimisations (tree-shaking, minification).
27
33
 
28
34
  ## Installation
29
35
 
@@ -33,18 +39,37 @@ npm install vite-intlayer
33
39
 
34
40
  ## Exports
35
41
 
36
- ### Plugin
42
+ ### Plugins
37
43
 
38
44
  Import:
39
45
 
40
- ```tsx
41
- import "vite-intlayer";
46
+ ```ts
47
+ import { ... } from "vite-intlayer";
42
48
  ```
43
49
 
44
- | Function | Description | Related Doc |
45
- | -------------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
46
- | `intlayer` | Main Vite plugin that integrates Intlayer into the build process. | [intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayer.md) |
47
- | `intlayerPlugin` | (**Deprecated**) Alias for `intlayer`. | [intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayer.md) |
48
- | `intlayerProxy` | Development middleware plugin to handle locale detection and routing. | - |
49
- | `intlayerMiddleware` | (**Deprecated**) Alias for `intlayerProxy`. | - |
50
- | `intlayerPrune` | Plugin to tree-shake and prune unused dictionaries during build. | [intlayerPrune](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerPrune.md) |
50
+ | Export | Description | Related Doc |
51
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
52
+ | `intlayer` | Main Vite plugin. Prepares dictionaries, configures aliases, starts dev-server watchers, and (since v9) bundles the proxy and compiler. | [intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayer.md) |
53
+ | `intlayerPlugin` | (**Deprecated**) Alias for `intlayer`. | [intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayer.md) |
54
+ | `intLayerPlugin` | (**Deprecated**) Alias for `intlayer`. | [intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayer.md) |
55
+ | `intlayerProxy` | Locale-routing middleware plugin (detection, redirect, rewrite). Since v9 it is bundled inside `intlayer()` – register separately only if needed. | [intlayerProxy](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerProxy.md) |
56
+ | `intlayerMiddleware` | (**Deprecated**) Alias for `intlayerProxy`. | [intlayerProxy](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerProxy.md) |
57
+ | `intLayerMiddlewarePlugin` | (**Deprecated**) Alias for `intlayerProxy`. | [intlayerProxy](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerProxy.md) |
58
+ | `intlayerCompiler` | Extracts inline content declarations from components and writes them to dictionaries. Since v9 it is bundled inside `intlayer()`. | [intlayerCompiler](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerCompiler.md) |
59
+ | `intlayerPrune` | Tree-shakes unused dictionary fields from the production bundle. | [intlayerPrune](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerPrune.md) |
60
+ | `intlayerMinify` | Minifies compiled dictionary JSON files and optionally mangles field names. | [intlayerMinify](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerMinify.md) |
61
+
62
+ ### Utilities
63
+
64
+ | Export | Description | Related Doc |
65
+ | ---------------------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
66
+ | `createIntlayerProxyHandler` | Returns a framework-agnostic Node.js `(req, res, next)` middleware with locale-routing logic. | [intlayerProxy](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/vite-intlayer/intlayerProxy.md) |
67
+
68
+ ### Types
69
+
70
+ | Export | Description |
71
+ | ---------------------------- | ---------------------------------------------------------------------------------------------------------------- |
72
+ | `IntlayerPluginOptions` | Options accepted by `intlayer()`. Extends `GetConfigurationOptions` with `compatCallers` and `proxy`. |
73
+ | `IntlayerProxyPluginOptions` | Options accepted by `intlayerProxy()` and `createIntlayerProxyHandler()`. Includes `ignore` and `configOptions`. |
74
+ | `IntlayerCompilerOptions` | Options accepted by `intlayerCompiler()`. Includes `configOptions` and `compilerConfig`. |
75
+ | `CompatCallerConfig` | Re-export from `@intlayer/babel`. Describes a compat-adapter caller pattern for field-usage analysis. |