diff --git a/packages/remix/src/executors/build/build.impl.ts b/packages/remix/src/executors/build/build.impl.ts index 0aff8873dd2f8..8be4c40351f40 100644 --- a/packages/remix/src/executors/build/build.impl.ts +++ b/packages/remix/src/executors/build/build.impl.ts @@ -72,7 +72,7 @@ export default async function buildExecutor( packageJson.scripts ??= {}; // Don't override existing custom script since project may have its own server. if (!packageJson.scripts.start) { - packageJson.scripts['start'] = 'remix-serve ./build'; + packageJson.scripts['start'] = 'remix-serve ./build/index.js'; } updatePackageJson(packageJson, context);