Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?]: Json files not being copied over #11740

Open
1 task
irg1008 opened this issue Dec 2, 2024 · 0 comments
Open
1 task

[Bug?]: Json files not being copied over #11740

irg1008 opened this issue Dec 2, 2024 · 0 comments
Labels
bug/needs-info More information is needed for reproduction

Comments

@irg1008
Copy link
Contributor

irg1008 commented Dec 2, 2024

What's not working?

I am usin gi18n on the backend like:

  i18next
    .use(Backend)
    .use(i18nextMiddleware.LanguageDetector)
    .init({
      lng,
      fallbackLng: FALLBACK_LANG,
      supportedLngs: langs,
      backend: {
        loadPath: __dirname + '/locales/{{lng}}.json',
      },
      preload: langs,
      detection: {
        lookupCookie: 'lang',
      },
    })

Then calling this on server start.

The problem I am facing it's that the refered json files on locales folder and not being copied over to the compiled output

Where can I config json files to be copied. I have resolveJsonModule se to true already

Thank you

How do we reproduce the bug?

No response

What's your environment? (If it applies)

No response

Are you interested in working on this?

  • I'm interested in working on this
@irg1008 irg1008 added the bug/needs-info More information is needed for reproduction label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction
Projects
None yet
Development

No branches or pull requests

1 participant