@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
@@ -167,7 +167,13 @@ import { intlayer } from "vite-intlayer";
167
167
 
168
168
  // https://vitejs.dev/config/
169
169
  export default defineConfig({
170
- plugins: [intlayer()],
170
+ plugins: [
171
+ intlayer({
172
+ proxy: {
173
+ ignore: (req) => req.url?.startsWith("/api"),
174
+ },
175
+ }),
176
+ ],
171
177
  });
172
178
  ```
173
179
 
@@ -436,7 +442,7 @@ export class MyElement extends LitElement {
436
442
 
437
443
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
438
444
  import { defineConfig } from "vite";
439
- import { intlayer, intlayerProxy } from "vite-intlayer";
445
+ import { intlayer } from "vite-intlayer";
440
446
 
441
447
  export default defineConfig({
442
448
  plugins: [intlayer(), intlayerProxy()],
@@ -167,7 +167,13 @@ import { intlayer } from "vite-intlayer";
167
167
 
168
168
  // https://vitejs.dev/config/
169
169
  export default defineConfig({
170
- plugins: [intlayer()],
170
+ plugins: [
171
+ intlayer({
172
+ proxy: {
173
+ ignore: (req) => req.url?.startsWith("/api"),
174
+ },
175
+ }),
176
+ ],
171
177
  });
172
178
  ```
173
179
 
@@ -428,12 +434,15 @@ document.querySelector<HTMLDivElement>(".edit-note")!.innerHTML =
428
434
 
429
435
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
430
436
  import { defineConfig } from "vite";
431
- import { intlayer, intlayerProxy } from "vite-intlayer";
437
+ import { intlayer } from "vite-intlayer";
432
438
 
433
439
  export default defineConfig({
434
440
  plugins: [
435
- intlayerProxy(), // اسے پہلے رکھنا چاہیے
436
- intlayer(),
441
+ intlayer({
442
+ proxy: {
443
+ ignore: (req) => req.url?.startsWith("/api"),
444
+ },
445
+ }),
437
446
  ],
438
447
  });
439
448
  ```
@@ -565,6 +574,8 @@ bunx intlayer extract
565
574
  </Tab>
566
575
  <Tab value='Babel کمپائلر'>
567
576
 
577
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
578
+
568
579
  `intlayerCompiler` پلگ ان شامل کرنے کے لیے اپنی `vite.config.ts` اپ ڈیٹ کریں:
569
580
 
570
581
  ```ts fileName="vite.config.ts"
@@ -574,7 +585,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
574
585
  export default defineConfig({
575
586
  plugins: [
576
587
  intlayer(),
577
- intlayerCompiler(), // کمپائلر پلگ ان شامل کرتا ہے
588
+ intlayerCompiler(), // Adds the compiler plugin
578
589
  ],
579
590
  });
580
591
  ```
@@ -81,12 +81,15 @@ Cập nhật file `vite.config.ts` của bạn để bao gồm plugin `intlayerC
81
81
 
82
82
  ```ts fileName="vite.config.ts"
83
83
  import { defineConfig } from "vite";
84
- import { intlayer, intlayerCompiler } from "vite-intlayer";
84
+ import { intlayer } from "vite-intlayer";
85
85
 
86
86
  export default defineConfig({
87
87
  plugins: [
88
- intlayer(),
89
- intlayerCompiler(), // Thêm plugin trình biên dịch
88
+ intlayer({
89
+ proxy: {
90
+ ignore: (req) => req.url?.startsWith("/api"),
91
+ },
92
+ }),
90
93
  ],
91
94
  });
92
95
  ```
@@ -172,10 +172,16 @@ Plugin Vite `intlayerProxy` áp dụng logic tương tự trong quá trình phá
172
172
 
173
173
  ```typescript fileName="vite.config.ts"
174
174
  import { defineConfig } from "vite";
175
- import { intlayerProxy } from "vite-intlayer";
175
+ import { intlayer } from "vite-intlayer";
176
176
 
177
177
  export default defineConfig({
178
- plugins: [intlayerProxy()],
178
+ plugins: [
179
+ intlayer({
180
+ proxy: {
181
+ ignore: (req) => req.url?.startsWith("/api"),
182
+ },
183
+ }),
184
+ ],
179
185
  });
180
186
  ```
181
187
 
@@ -342,10 +342,16 @@ export function middleware(request: NextRequest) {
342
342
 
343
343
  ```typescript fileName="vite.config.ts"
344
344
  import { defineConfig } from "vite";
345
- import { intlayerProxy } from "vite-intlayer";
345
+ import { intlayer } from "vite-intlayer";
346
346
 
347
347
  export default defineConfig({
348
- plugins: [intlayerProxy()],
348
+ plugins: [
349
+ intlayer({
350
+ proxy: {
351
+ ignore: (req) => req.url?.startsWith("/api"),
352
+ },
353
+ }),
354
+ ],
349
355
  });
350
356
  ```
351
357
 
@@ -207,7 +207,11 @@ import analog from "@analogjs/platform";
207
207
  export default defineConfig(() => ({
208
208
  plugins: [
209
209
  analog(),
210
- intlayer(), // Thêm plugin Intlayer
210
+ intlayer({
211
+ proxy: {
212
+ ignore: (req) => req.url?.startsWith("/api"),
213
+ },
214
+ }),
211
215
  ],
212
216
  }));
213
217
  ```
@@ -518,6 +518,8 @@ bun x intlayer extract
518
518
  </Tab>
519
519
  <Tab value='Trình biên dịch Babel'>
520
520
 
521
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
522
+
521
523
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
522
524
 
523
525
  ```ts fileName="vite.config.ts"
@@ -527,7 +529,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
527
529
  export default defineConfig({
528
530
  plugins: [
529
531
  intlayer(),
530
- intlayerCompiler(), // Thêm plugin trình biên dịch
532
+ intlayerCompiler(), // Adds the compiler plugin
531
533
  ],
532
534
  });
533
535
  ```
@@ -604,6 +604,8 @@ bun x intlayer extract
604
604
  </Tab>
605
605
  <Tab value='Trình biên dịch Babel'>
606
606
 
607
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
608
+
607
609
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
608
610
 
609
611
  ```ts fileName="vite.config.ts"
@@ -613,7 +615,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
613
615
  export default defineConfig({
614
616
  plugins: [
615
617
  intlayer(),
616
- intlayerCompiler(), // Thêm plugin trình biên dịch
618
+ intlayerCompiler(), // Adds the compiler plugin
617
619
  ],
618
620
  });
619
621
  ```
@@ -559,6 +559,8 @@ bun x intlayer extract
559
559
  </Tab>
560
560
  <Tab value='Trình biên dịch Babel'>
561
561
 
562
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
563
+
562
564
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
563
565
 
564
566
  ```ts fileName="vite.config.ts"
@@ -568,7 +570,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
568
570
  export default defineConfig({
569
571
  plugins: [
570
572
  intlayer(),
571
- intlayerCompiler(), // Thêm plugin trình biên dịch
573
+ intlayerCompiler(), // Adds the compiler plugin
572
574
  ],
573
575
  });
574
576
  ```
@@ -555,6 +555,8 @@ bun x intlayer extract
555
555
  </Tab>
556
556
  <Tab value='Trình biên dịch Babel'>
557
557
 
558
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
559
+
558
560
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
559
561
 
560
562
  ```ts fileName="vite.config.ts"
@@ -564,7 +566,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
564
566
  export default defineConfig({
565
567
  plugins: [
566
568
  intlayer(),
567
- intlayerCompiler(), // Thêm plugin trình biên dịch
569
+ intlayerCompiler(), // Adds the compiler plugin
568
570
  ],
569
571
  });
570
572
  ```
@@ -555,6 +555,8 @@ bun x intlayer extract
555
555
  </Tab>
556
556
  <Tab value='Trình biên dịch Babel'>
557
557
 
558
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
559
+
558
560
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
559
561
 
560
562
  ```ts fileName="vite.config.ts"
@@ -564,7 +566,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
564
566
  export default defineConfig({
565
567
  plugins: [
566
568
  intlayer(),
567
- intlayerCompiler(), // Thêm plugin trình biên dịch
569
+ intlayerCompiler(), // Adds the compiler plugin
568
570
  ],
569
571
  });
570
572
  ```
@@ -559,6 +559,8 @@ bun x intlayer extract
559
559
  </Tab>
560
560
  <Tab value='Trình biên dịch Babel'>
561
561
 
562
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
563
+
562
564
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
563
565
 
564
566
  ```ts fileName="vite.config.ts"
@@ -568,7 +570,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
568
570
  export default defineConfig({
569
571
  plugins: [
570
572
  intlayer(),
571
- intlayerCompiler(), // Thêm plugin trình biên dịch
573
+ intlayerCompiler(), // Adds the compiler plugin
572
574
  ],
573
575
  });
574
576
  ```
@@ -533,6 +533,8 @@ bun x intlayer extract
533
533
  </Tab>
534
534
  <Tab value='Trình biên dịch Babel'>
535
535
 
536
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
537
+
536
538
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
537
539
 
538
540
  ```ts fileName="vite.config.ts"
@@ -542,7 +544,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
542
544
  export default defineConfig({
543
545
  plugins: [
544
546
  intlayer(),
545
- intlayerCompiler(), // Thêm plugin trình biên dịch
547
+ intlayerCompiler(), // Adds the compiler plugin
546
548
  ],
547
549
  });
548
550
  ```
@@ -569,6 +569,8 @@ bun x intlayer extract
569
569
  </Tab>
570
570
  <Tab value='Trình biên dịch Babel'>
571
571
 
572
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
573
+
572
574
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
573
575
 
574
576
  ```ts fileName="vite.config.ts"
@@ -578,7 +580,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
578
580
  export default defineConfig({
579
581
  plugins: [
580
582
  intlayer(),
581
- intlayerCompiler(), // Thêm plugin trình biên dịch
583
+ intlayerCompiler(), // Adds the compiler plugin
582
584
  ],
583
585
  });
584
586
  ```
@@ -232,6 +232,8 @@ if (import.meta.webpackHot) {
232
232
  Tạo các file **khai báo nội dung** ở bất kỳ đâu trong dự án của bạn (thường là trong `src/`), sử dụng bất kỳ định dạng phần mở rộng nào mà Intlayer hỗ trợ:
233
233
 
234
234
  - `.content.json`
235
+ - `.content.jsonc`
236
+ - `.content.json5`
235
237
  - `.content.ts`
236
238
  - `.content.tsx`
237
239
  - `.content.js`
@@ -239,7 +241,10 @@ Tạo các file **khai báo nội dung** ở bất kỳ đâu trong dự án c
239
241
  - `.content.mjs`
240
242
  - `.content.mjx`
241
243
  - `.content.cjs`
242
- - `.content.cjx`
244
+ - `.content.md`
245
+ - `.content.mdx`
246
+ - `.content.yaml`
247
+ - `.content.yml`
243
248
  - v.v.
244
249
 
245
250
  Ví dụ:
@@ -1016,6 +1016,8 @@ bun x intlayer extract
1016
1016
  </Tab>
1017
1017
  <Tab value='Trình biên dịch Babel'>
1018
1018
 
1019
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
1020
+
1019
1021
  ```bash packageManager="npm"
1020
1022
  npm install @intlayer/babel --save-dev
1021
1023
  ```
@@ -997,6 +997,8 @@ bun x intlayer extract
997
997
  </Tab>
998
998
  <Tab value='Trình biên dịch Babel'>
999
999
 
1000
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
1001
+
1000
1002
  ```bash packageManager="npm"
1001
1003
  npm install @intlayer/babel --save-dev
1002
1004
  ```
@@ -559,6 +559,8 @@ bun x intlayer extract
559
559
  </Tab>
560
560
  <Tab value='Trình biên dịch Babel'>
561
561
 
562
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
563
+
562
564
  ```bash packageManager="npm"
563
565
  npm install @intlayer/babel --save-dev
564
566
  ```
@@ -261,6 +261,8 @@ export default RootLayout;
261
261
  Tạo các tệp **khai báo nội dung** ở bất kỳ đâu trong dự án của bạn (thường là trong thư mục `src/`), sử dụng bất kỳ định dạng phần mở rộng nào mà Intlayer hỗ trợ:
262
262
 
263
263
  - `.content.json`
264
+ - `.content.jsonc`
265
+ - `.content.json5`
264
266
  - `.content.ts`
265
267
  - `.content.tsx`
266
268
  - `.content.js`
@@ -268,7 +270,10 @@ Tạo các tệp **khai báo nội dung** ở bất kỳ đâu trong dự án c
268
270
  - `.content.mjs`
269
271
  - `.content.mjx`
270
272
  - `.content.cjs`
271
- - `.content.cjx`
273
+ - `.content.md`
274
+ - `.content.mdx`
275
+ - `.content.yaml`
276
+ - `.content.yml`
272
277
  - v.v.
273
278
 
274
279
  > **Expo Router (web): giữ các tệp `.content.*` bên ngoài thư mục `app/`.** Expo Router coi mọi tệp JavaScript/TypeScript bên trong `app/` là một tuyến đường (route). Trên web, tính năng khám phá tuyến đường của nó quét trực tiếp hệ thống tệp và **không** tuân theo `resolver.blockList` của Metro, do đó `*.content.ts` đặt cùng vị trí sẽ được đăng ký làm tuyến đường. Một tệp như `app/(tabs)/_layout.content.ts` thậm chí còn được phân tích cú pháp dưới dạng bố cục (phần `.content` được đọc dưới dạng hậu tố nền tảng), xung đột với `_layout.tsx` thực và gây ra lỗi:
@@ -633,6 +633,8 @@ bun x intlayer extract
633
633
  </Tab>
634
634
  <Tab value='Trình biên dịch Babel'>
635
635
 
636
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
637
+
636
638
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
637
639
 
638
640
  ```ts fileName="vite.config.ts"
@@ -642,7 +644,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
642
644
  export default defineConfig({
643
645
  plugins: [
644
646
  intlayer(),
645
- intlayerCompiler(), // Thêm plugin trình biên dịch
647
+ intlayerCompiler(), // Adds the compiler plugin
646
648
  ],
647
649
  });
648
650
  ```
@@ -512,6 +512,8 @@ bun x intlayer extract
512
512
  </Tab>
513
513
  <Tab value='Trình biên dịch Babel'>
514
514
 
515
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
516
+
515
517
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
516
518
 
517
519
  ```ts fileName="vite.config.ts"
@@ -521,7 +523,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
521
523
  export default defineConfig({
522
524
  plugins: [
523
525
  intlayer(),
524
- intlayerCompiler(), // Thêm plugin trình biên dịch
526
+ intlayerCompiler(), // Adds the compiler plugin
525
527
  ],
526
528
  });
527
529
  ```
@@ -592,14 +594,17 @@ Bạn cũng có thể sử dụng `intlayerProxy` để thêm routing phía serv
592
594
  ```typescript {3,7} fileName="vite.config.ts"
593
595
  import { reactRouter } from "@react-router/dev/vite";
594
596
  import { defineConfig } from "vite";
595
- import { intlayer, intlayerProxy } from "vite-intlayer";
597
+ import { intlayer } from "vite-intlayer";
596
598
 
597
599
  export default defineConfig({
598
600
  plugins: [
599
- intlayerProxy(), // should be placed first
600
601
  reactRouter(),
601
602
 
602
- intlayer(),
603
+ intlayer({
604
+ proxy: {
605
+ ignore: (req) => req.url?.startsWith("/api"),
606
+ },
607
+ }),
603
608
  ],
604
609
  });
605
610
  ```
@@ -190,7 +190,13 @@ const config: StorybookConfig = {
190
190
  } as const;
191
191
 
192
192
  const viteConfig = defineConfig(() => ({
193
- plugins: [intlayer()],
193
+ plugins: [
194
+ intlayer({
195
+ proxy: {
196
+ ignore: (req) => req.url?.startsWith("/api"),
197
+ },
198
+ }),
199
+ ],
194
200
  }));
195
201
 
196
202
  return mergeConfig(baseConfig, viteConfig(env));
@@ -614,14 +614,17 @@ goto(localizedPath); // Điều hướng đến /en/about hoặc /fr/about tùy
614
614
 
615
615
  ```ts fileName="vite.config.ts"
616
616
  import { defineConfig } from "vite";
617
- import { intlayer, intlayerProxy } from "vite-intlayer";
617
+ import { intlayer } from "vite-intlayer";
618
618
  import { sveltekit } from "@sveltejs/kit/vite";
619
619
 
620
620
  // https://vitejs.dev/config/
621
621
  export default defineConfig({
622
622
  plugins: [
623
- intlayerProxy(), // should be placed first
624
- intlayer(),
623
+ intlayer({
624
+ proxy: {
625
+ ignore: (req) => req.url?.startsWith("/api"),
626
+ },
627
+ }),
625
628
  sveltekit(),
626
629
  ],],
627
630
  });
@@ -719,6 +722,8 @@ bun x intlayer extract
719
722
  </Tab>
720
723
  <Tab value='Trình biên dịch Babel'>
721
724
 
725
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
726
+
722
727
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
723
728
 
724
729
  ```ts fileName="vite.config.ts"
@@ -728,7 +733,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
728
733
  export default defineConfig({
729
734
  plugins: [
730
735
  intlayer(),
731
- intlayerCompiler(), // Thêm plugin trình biên dịch
736
+ intlayerCompiler(), // Adds the compiler plugin
732
737
  ],
733
738
  });
734
739
  ```
@@ -227,11 +227,15 @@ export default defineConfig({
227
227
  tanstackStart({
228
228
  router: {
229
229
  routeFileIgnorePattern:
230
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
230
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
231
231
  },
232
232
  }),
233
233
  solidPlugin({ ssr: true }),
234
- intlayer(),
234
+ intlayer({
235
+ proxy: {
236
+ ignore: (req) => req.url?.startsWith("/api"),
237
+ },
238
+ }),
235
239
  ],
236
240
  });
237
241
  ```
@@ -567,22 +571,25 @@ Bạn cũng có thể sử dụng `intlayerProxy` để thêm điều hướng p
567
571
 
568
572
  > Lưu ý rằng để sử dụng `intlayerProxy` trong môi trường production, bạn cần chuyển gói `vite-intlayer` từ `devDependencies` sang `dependencies`.
569
573
 
570
- ```typescript {7,14-17} fileName="vite.config.ts"
574
+ ```typescript fileName="vite.config.ts"
571
575
  import { tanstackStart } from "@tanstack/solid-start/plugin/vite";
572
576
  import solid from "vite-plugin-solid";
573
577
  import { nitro } from "nitro/vite";
574
578
  import { defineConfig } from "vite";
575
- import { intlayer, intlayerProxy } from "vite-intlayer";
579
+ import { intlayer } from "vite-intlayer";
576
580
 
577
581
  export default defineConfig({
578
582
  plugins: [
579
- intlayerProxy(), // Proxy phải được đặt trước server nếu bạn sử dụng Nitro
580
583
  nitro(),
581
- intlayer(),
584
+ intlayer({
585
+ proxy: {
586
+ ignore: (req) => req.url?.startsWith("/api"),
587
+ },
588
+ }),
582
589
  tanstackStart({
583
590
  router: {
584
591
  routeFileIgnorePattern:
585
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
592
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
586
593
  },
587
594
  }),
588
595
  solid(),
@@ -825,9 +832,9 @@ bun x intlayer extract
825
832
  </Tab>
826
833
  <Tab value='Babel compiler'>
827
834
 
828
- Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
835
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
829
836
 
830
- > Kể từ Intlayer v9, trình biên dịch (compiler) được tích hợp trực tiếp vào plugin `intlayer()` và sẽ tự động kích hoạt khi `compiler.enabled` được thiết lập cùng với đường dẫn `compiler.output`. Việc đăng ký riêng biệt `intlayerCompiler()` như hiển thị bên dưới giờ đây là tùy chọn — nó sẽ tự động loại bỏ trùng lặp nếu được thêm vào. Xem [ghi chú phát hành v9](https://github.com/aymericzip/intlayer/blob/main/docs/docs/vi/releases/v9.md).
837
+ Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
831
838
 
832
839
  ```ts fileName="vite.config.ts"
833
840
  import { intlayer, intlayerCompiler } from "vite-intlayer";
@@ -842,12 +849,12 @@ export default defineConfig({
842
849
  tanstackStart({
843
850
  router: {
844
851
  routeFileIgnorePattern:
845
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
852
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
846
853
  },
847
854
  }),
848
855
  solidPlugin({ ssr: true }),
849
856
  intlayer(),
850
- intlayerCompiler(),
857
+ intlayerCompiler(), // Adds the compiler plugin
851
858
  ],
852
859
  });
853
860
  ```
@@ -241,11 +241,15 @@ import { intlayer } from "vite-intlayer";
241
241
  const config = defineConfig({
242
242
  plugins: [
243
243
  nitro(),
244
- intlayer(),
244
+ intlayer({
245
+ proxy: {
246
+ ignore: (req) => req.url?.startsWith("/api"),
247
+ },
248
+ }),
245
249
  tanstackStart({
246
250
  router: {
247
251
  routeFileIgnorePattern:
248
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
252
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
249
253
  },
250
254
  }),
251
255
  viteReact(),
@@ -649,22 +653,25 @@ Bạn cũng có thể sử dụng `intlayerProxy` để thêm routing phía serv
649
653
 
650
654
  > Lưu ý rằng để sử dụng `intlayerProxy` trong môi trường production, bạn cần chuyển gói `vite-intlayer` từ `devDependencies` sang `dependencies`.
651
655
 
652
- ```typescript {7,14-17} fileName="vite.config.ts"
656
+ ```typescript fileName="vite.config.ts"
653
657
  import { tanstackStart } from "@tanstack/react-start/plugin/vite";
654
658
  import viteReact from "@vitejs/plugin-react";
655
659
  import { nitro } from "nitro/vite";
656
660
  import { defineConfig } from "vite";
657
- import { intlayer, intlayerProxy } from "vite-intlayer";
661
+ import { intlayer } from "vite-intlayer";
658
662
 
659
663
  export default defineConfig({
660
664
  plugins: [
661
- intlayerProxy(), // Proxy nên được đặt trước server nếu bạn sử dụng Nitro
662
665
  nitro(),
663
- intlayer(),
666
+ intlayer({
667
+ proxy: {
668
+ ignore: (req) => req.url?.startsWith("/api"),
669
+ },
670
+ }),
664
671
  tanstackStart({
665
672
  router: {
666
673
  routeFileIgnorePattern:
667
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
674
+ ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5|md|mdx|yaml|yml)$",
668
675
  },
669
676
  }),
670
677
  viteReact(),
@@ -925,6 +932,8 @@ bun x intlayer extract
925
932
  </Tab>
926
933
  <Tab value='Trình biên dịch Babel'>
927
934
 
935
+ > Since v9, the `intlayerCompiler` is included in the `intlayer` plugin. So you don't need to add it manually.
936
+
928
937
  Cập nhật `vite.config.ts` của bạn để bao gồm plugin `intlayerCompiler`:
929
938
 
930
939
  ```ts fileName="vite.config.ts"
@@ -934,7 +943,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
934
943
  export default defineConfig({
935
944
  plugins: [
936
945
  intlayer(),
937
- intlayerCompiler(), // Thêm plugin trình biên dịch
946
+ intlayerCompiler(), // Adds the compiler plugin
938
947
  ],
939
948
  });
940
949
  ```
@@ -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
 
@@ -474,7 +480,7 @@ export class MyElement extends LitElement {
474
480
 
475
481
  ```typescript {3,7} fileName="vite.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
476
482
  import { defineConfig } from "vite";
477
- import { intlayer, intlayerProxy } from "vite-intlayer";
483
+ import { intlayer } from "vite-intlayer";
478
484
 
479
485
  export default defineConfig({
480
486
  plugins: [intlayer(), intlayerProxy()],