Skip to content

Commit

Permalink
Revert "fix(nextjs): ensure no dev deps in prod package.json (nrwl#13851
Browse files Browse the repository at this point in the history
)"

This reverts commit 565652f.
  • Loading branch information
FrozenPandaz committed Dec 21, 2022
1 parent ddd7a3c commit b417231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/executors/build/build.impl.ts
Expand Up @@ -86,7 +86,7 @@ export default async function buildExecutor(
context.projectGraph,
{
root: context.root,
isProduction: !options.includeDevDependenciesInPackageJson, // By default we remove devDependencies since this is a production build.
isProduction: options.includeDevDependenciesInPackageJson, // By default we remove devDependencies since this is a production build.
}
);
updatePackageJson(builtPackageJson, context);
Expand Down

0 comments on commit b417231

Please sign in to comment.