diff --git a/contributors.yml b/contributors.yml index c11fb3b3030..8a8ac74c7a4 100644 --- a/contributors.yml +++ b/contributors.yml @@ -723,3 +723,4 @@ - zayenz - zhe - zwhitchcox +- joglr diff --git a/packages/remix-dev/cli/commands.ts b/packages/remix-dev/cli/commands.ts index 82406b1b6b4..07178a64478 100644 --- a/packages/remix-dev/cli/commands.ts +++ b/packages/remix-dev/cli/commands.ts @@ -274,7 +274,9 @@ export async function generateEntry( } let pkgJson = await PackageJson.load(rootDirectory); - let deps = pkgJson.content.dependencies ?? {}; + let prodDeps = pkgJson.content.dependencies ?? {}; + let devDeps = pkgJson.content.devDependencies ?? {}; + let deps = {...prodDeps, ...devDeps }; let serverRuntime = deps["@remix-run/deno"] ? "deno"