Merge branch 'fix-mail-constant' into 'main'
[ProtonMail-WebClient.git] / applications / docs-editor / src / app / locales.ts
blob03eca164bbcaa66ad74a689a076a9b945bfd123e
1 import { getLocalesFromRequireContext } from '@proton/shared/lib/i18n/locales'
3 const requireContext = import.meta.webpackContext!('../../locales', {
4   recursive: false,
5   regExp: /\.json$/,
6   mode: 'lazy',
7   chunkName: 'locales/[request]',
8 })
10 const locales = getLocalesFromRequireContext(requireContext)
12 export default locales