@intlayer/dictionaries-entry
Version:
Provides the entry path for Intlayer dictionaries, solving filesystem retrieval issues for bundlers like Webpack and Rollup.
10 lines • 626 B
TypeScript
/**
* @intlayer/dictionaries-entry is a package that only returns the dictionary entry file.
* Using an external package allow to alias it in the bundle configuration (such as webpack).
* The alias allow hot reload the app (such as nextjs) on any dictionary change.
*/
import type { IntlayerDictionaryTypesConnector } from 'intlayer';
export declare const getDictionaries: () => Record<IntlayerDictionaryTypesConnector["key"], IntlayerDictionaryTypesConnector>;
declare const _default: Record<IntlayerDictionaryTypesConnector, IntlayerDictionaryTypesConnector>;
export default _default;
//# sourceMappingURL=index.d.ts.map