@dextinity/agent-features 10.2.0-canary-20260826103333 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -558,6 +558,8 @@ const { html, mjmlWarnings } = renderMailHtml(
|
|
|
558
558
|
- **Client** (`@dextinity/mail-react/client`) — uses `mjml-browser`, works without `fs`
|
|
559
559
|
- `renderMailHtml` is **not** on the main `@dextinity/mail-react` barrel — always import from `/server` or `/client`
|
|
560
560
|
- Returns `{ html: string; mjmlWarnings: MjmlWarning[] }` — warnings are collected, not thrown
|
|
561
|
+
- A framework that bundles server code (Next.js) must list `mjml` in the application's own `package.json` too, or rendering fails at runtime
|
|
562
|
+
- Nothing imports it directly — add `mjml` to `ignoreDependencies` in `knip.json` rather than removing it as unused
|
|
561
563
|
|
|
562
564
|
### Logging MJML Warnings
|
|
563
565
|
|