Skip to content

Log typescript errors on build dictionaries #167

@aymericzip

Description

@aymericzip

A PR (110) was started to improve visibility of missing translations by logging TypeScript errors (e.g. unresolved keys in t() functions) during the build.

However, this change introduced undocumented side effects that must be resolved.

Tasks

  • Investigate and document the side effects introduced by the PR.
  • Run pnpm intlayer build to reproduce and trace the issue.
  • Ensure missing translation errors (from .js, .ts, .jsx, .tsx, or .json content declaration files) are correctly logged during the build.
  • Ensure the dictionaries build works as expected, including for all supported content file formats docs.
  • Ensure the overall application build process is unaffected.
  • Push an updated PR that resolves these issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbundlingRelated to the way intlayer is bundled on application (Next.js, Vite.js, Nuxt.js, etc)featureA request, idea, or new functionalityrefactorRefactor a part of the codebase

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions