docs(deployment): prune non-production deps (#23056)
added the following line, to remove the size of the `runner` (production) image. This will remove the `devDependencies` from the container after `next build` completes. ``` yarn install --production --ignore-scripts --prefer-offline ``` For the typescript starter, this is the change in size | before <br/>proposed change<br/>size in bytes | after <br/> proposed change <br/> size in bytes| |----|---| | 347MB | 176MB |
Showing
Please
register
or
sign in
to comment