Skip to content

Commit

Permalink
fix(react-email): Fixed issues caused by yarn dlx
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Apr 25, 2024
1 parent 6b374f6 commit c1669a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-email/src/executors/export/export.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function exportExecutor(
}

return execPackageManagerCommand(buildCommand([
'email export',
'react-email export',
`--dir=${sourceRoot || root}`,
`--outDir=${options.outputPath}`,
options.pretty && `--pretty`,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-email/src/executors/serve/serve.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function serveExecutor(
const { sourceRoot, root } = context.workspace.projects[context.projectName]

return execPackageManagerCommand(buildCommand([
'email dev',
'react-email dev',
`--dir=${sourceRoot || root}`,
options.port && `--port=${options.port}`
]), {
Expand Down

0 comments on commit c1669a0

Please sign in to comment.