Skip to content

Commit

Permalink
fix: runtimeConfigModule config validation (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis authored Feb 8, 2021
1 parent b9683cc commit 5656c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/conf/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export function getConfig({

const exampleConfig = {
...defaultConfig,
runtimeConfigModule: multipleValidOptions({i18n: ["@lingui/core", "i18n"], Trans: ["@lingui/react", "Trans"]}, ["@lingui/core", "i18n"]),
fallbackLocales: multipleValidOptions(
{},
{ "en-US": "en" },
Expand Down

1 comment on commit 5656c95

@vercel
Copy link

@vercel vercel bot commented on 5656c95 Feb 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.