Skip to content

Commit

Permalink
fix: lingui config for multiple apps
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Jan 17, 2025
1 parent 7624a79 commit 9fe0486
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion apps/main/lingui.config.ts
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
export { config as default } from '../../lingui.config'
import { config } from '../../lingui.config'

const mainConfig = {
...config,
catalog: {
path: 'src/locales/{locale}/messages',
include: [
...['dao', 'dex', 'loan', 'lend'].flatMap((app) => [
`src/${app}/components`,
`src/${app}/entities`,
`src/${app}/features`,
`src/${app}/hooks`,
`src/${app}/layout`,
`src/${app}/pages`,
`src/${app}/store`,
`src/${app}/widgets`,
]),
'../../packages/curve-ui-kit',
],
},
}

export default mainConfig

0 comments on commit 9fe0486

Please sign in to comment.