import { type IntlayerConfig, Locales } from 'intlayer';
const config: IntlayerConfig = {
internationalization: {
locales: [
Locales.ENGLISH,
Locales.FRENCH,
Locales.SPANISH,
// Your other locales
],
defaultLocale: Locales.ENGLISH,
},
editor: {
enabled: true,
applicationURL: 'http://localhost:5173',
cmsURL: 'http://localhost:3000',
editorURL: 'http://localhost:8000',
backendURL: 'http://localhost:3100',
clientId: process.env.INTLAYER_CLIENT_ID,
clientSecret: process.env.INTLAYER_CLIENT_SECRET,
},
build: {
importMode: 'dynamic',
},
};
export default config;