react-email 4.2.4 → 4.2.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # react-email
2
2
 
3
+ ## 4.2.6
4
+
5
+ ## 4.2.5
6
+
7
+ ### Patch Changes
8
+
9
+ - 8719082: fix errors in `export` when without manual React import
10
+
3
11
  ## 4.2.4
4
12
 
5
13
  ## 4.2.3
package/dist/index.js CHANGED
@@ -106,7 +106,7 @@ import prompts from "prompts";
106
106
  // package.json
107
107
  var package_default = {
108
108
  name: "react-email",
109
- version: "4.2.4",
109
+ version: "4.2.6",
110
110
  description: "A live preview of your emails right in your browser.",
111
111
  bin: {
112
112
  email: "./dist/index.js"
@@ -1262,7 +1262,7 @@ var exportTemplates = async (pathToWhereEmailMarkupShouldBeDumped, emailsDirecto
1262
1262
  bundle: true,
1263
1263
  entryPoints: allTemplates,
1264
1264
  format: "cjs",
1265
- jsx: "transform",
1265
+ jsx: "automatic",
1266
1266
  loader: { ".js": "jsx" },
1267
1267
  logLevel: "silent",
1268
1268
  outExtension: { ".js": ".cjs" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-email",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "A live preview of your emails right in your browser.",
5
5
  "bin": {
6
6
  "email": "./dist/index.js"
@@ -48,7 +48,7 @@
48
48
  "react-dom": "19.0.0",
49
49
  "tsup": "8.4.0",
50
50
  "typescript": "5.8.3",
51
- "@react-email/components": "0.3.2"
51
+ "@react-email/components": "0.4.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsup-node",
@@ -81,7 +81,7 @@ export const exportTemplates = async (
81
81
  bundle: true,
82
82
  entryPoints: allTemplates,
83
83
  format: 'cjs',
84
- jsx: 'transform',
84
+ jsx: 'automatic',
85
85
  loader: { '.js': 'jsx' },
86
86
  logLevel: 'silent',
87
87
  outExtension: { '.js': '.cjs' },