Skip to content

Commit

Permalink
fix(remix): adjust remix start script when building (#21883)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorPontinen authored and jaysoo committed Feb 23, 2024
1 parent afc9c98 commit 71ae788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remix/src/executors/build/build.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 71ae788

Please sign in to comment.