Import Lingui macros from the entrypoints Lingui 6 has

@lingui/macro is the Lingui 5 package, and its macro is not one the
Lingui 6 babel plugin can run, so the server build stopped on the two
files still importing it.

Claude-Session: https://claude.ai/code/session_011i2AG9nwpiKUCVxAdDzYuU
This commit is contained in:
2026-09-29 18:55:00 -07:00
parent ccb96089d5
commit 2297f53665
2 changed files with 3 additions and 2 deletions
@@ -1,4 +1,5 @@
import { Trans, msg } from '@lingui/macro';
import { msg } from '@lingui/core/macro';
import { Trans } from '@lingui/react/macro';
import { useLingui } from '@lingui/react';
import { Body, Container, Head, Html, Preview, Section, Text } from '../components';
@@ -1,6 +1,6 @@
import { createElement } from 'react';
import { msg } from '@lingui/macro';
import { msg } from '@lingui/core/macro';
import { parse } from 'csv-parse/sync';
import { z } from 'zod';