We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pretty
1 parent c6c03a4 commit e4598abCopy full SHA for e4598ab
.changeset/purple-teachers-look.md
@@ -0,0 +1,5 @@
1
+---
2
+"@react-email/render": patch
3
4
+
5
+Fixes `pretty` option breaking CJS projects
packages/render/src/shared/utils/pretty.ts
@@ -1,6 +1,6 @@
import type { Options, Plugin } from 'prettier';
import type { builders } from 'prettier/doc';
-import html from 'prettier/plugins/html';
+import * as html from 'prettier/plugins/html';
import { format } from 'prettier/standalone';
6
interface HtmlNode {
0 commit comments