You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Next.js project, I used dynamic routing [...params], and I customized the output directory for Lingui, finally I discovered that [...params] appeared in the directory. However, there was no content inside; it should have contained a "hello world" message.
Description
In my Next.js project, I used dynamic routing [...params], and I customized the output directory for Lingui, finally I discovered that [...params] appeared in the directory. However, there was no content inside; it should have contained a "hello world" message.
The official demo can also reproduce it. 👉repo
Verifications
Reproduction Steps
lingui.config.js
Use {name} to custom the output
pages/[...params]/index.tsx
add 'Hello world'
locales/[...params]/cs/message.po
But 'hello world' did not appear
Expected Behavior
"hello word" should appear in the po file
Macro Support
Babel with babel-macro-plugin
Lingui Version
5.0.0-next.2
Babel Version
5.0.0-next.2
Framework
Next.js
The text was updated successfully, but these errors were encountered: