UNPKG

lynx-intlayer

Version:

A Lynx plugin for seamless internationalization (i18n) and localization (l10n) of your mobile app.

28 lines (26 loc) 879 B
import { RsbuildPlugin } from "@rsbuild/core"; //#region src/plugin/pluginIntlayerLynx.d.ts /** * A Lynx plugin to integrate Intlayer into the Lynx build process. * * - Loads the Intlayer configuration and injects environment variables. * - If enabled, starts a file watcher for dictionary changes. * - On build, prepares the Intlayer configuration. * - Optionally checks for dictionary changes before compiling (hot reload). * * Usage in your lynx.config.ts: * * import { defineConfig } from '@lynx-js/rspeedy' * import { pluginIntlayerLynx } from '@intlayer/lynx-plugin' * * export default defineConfig({ * plugins: [ * pluginIntlayerLynx(), * ], * // ...other configuration * }) */ declare const pluginIntlayerLynx: () => RsbuildPlugin; //#endregion export { pluginIntlayerLynx }; //# sourceMappingURL=pluginIntlayerLynx.d.ts.map