Skip to content

Commit

Permalink
feat(node): setting docker on app generation should set generateLockf…
Browse files Browse the repository at this point in the history
…ile on target config (#14947)
  • Loading branch information
meeroslav committed Feb 13, 2023
1 parent bcd931c commit d0ad53c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/node/src/generators/application/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function getWebpackBuildConfig(
},
configurations: {
production: {
...(options.docker && { generateLockfile: true }),
optimization: true,
extractLicenses: true,
inspect: false,
Expand Down Expand Up @@ -113,6 +114,7 @@ function getEsBuildConfig(
},
configurations: {
production: {
...(options.docker && { generateLockfile: true }),
esbuildOptions: { sourcemap: false },
},
},
Expand Down

0 comments on commit d0ad53c

Please sign in to comment.