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

feat(vite-plugin): add error handling for dynamic import of @lingui/macro #2056

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 18, 2024

  1. feat(vite-plugin): add error handling for dynamic import of @lingui/m…

    …acro
    
    This commit adds error handling for dynamically importing the @lingui/macro module in the vite-plugin. When the @lingui/macro module is dynamically imported, an error is thrown with a helpful message guiding the user to check their import statement and providing a link to the documentation for configuring Vite with Lingui correctly.
    
    Closes lingui#2050
    maastrich committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    5f31983 View commit details
    Browse the repository at this point in the history