diff --git a/packages/react-email/src/executors/export/export.impl.ts b/packages/react-email/src/executors/export/export.impl.ts index 9ffa16dc..7afac8f8 100644 --- a/packages/react-email/src/executors/export/export.impl.ts +++ b/packages/react-email/src/executors/export/export.impl.ts @@ -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`, diff --git a/packages/react-email/src/executors/serve/serve.impl.ts b/packages/react-email/src/executors/serve/serve.impl.ts index 5b5c7d88..a5254aea 100644 --- a/packages/react-email/src/executors/serve/serve.impl.ts +++ b/packages/react-email/src/executors/serve/serve.impl.ts @@ -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}` ]), {