title: Do I need to run `npm run prod` on production?
body: <p>Laravel ships with a <a href="https://github.com/laravel/laravel/blob/8.x/package.json" rel="noreferrer">package.json</a> file for npm.</p>
  <p>The default <code>package.json</code> only ships with devDependencies.</p>
  <p>If I am not mistaken then:</p>
  <ul>
  <li><code>npm run development</code> is used to bundle all dependencies with web pack into a single file on local developent, which is then pushed via version-control to production.</li>
  <li><code>npm install</code> is only required on production, when <code>package.json</code> contains actual <code>dependencies</code> (and not only <code>devDependencies</code>).</li>
  </ul>
  <p>However, I am a bit confused about the <code>npm run production</code> script. Should I run <code>webpack</code> in production? Or is this obsolete if I have done this in development and pushed it via VC? I did not find anything in the <a href="https://laravel.com/docs/6.x/deployment" rel="noreferrer">Deploy docs</a> from Laravel.</p>