This commit is contained in:
Alexander Zhukov 2017-04-28 19:07:20 +03:00
parent c318193502
commit 85e7201c93

View file

@ -84,6 +84,12 @@ yarn
<p>or in <span class="caps">AOT</span><span class="widont">&nbsp;</span>mode</p> <p>or in <span class="caps">AOT</span><span class="widont">&nbsp;</span>mode</p>
<pre><code class="lang-bash">npm run start:prod:aot <pre><code class="lang-bash">npm run start:prod:aot
</code></pre> </code></pre>
<p>To create a bundle in production mode,<span class="widont">&nbsp;</span>execute:</p>
<pre><code class="lang-bash">npm run build:prod
</code></pre>
<p>or</p>
<pre><code class="lang-bash">npm run build:prod:aot
</code></pre>
<p>This will clear up your dist folder (where release files are located), generate a release build and start the <p>This will clear up your dist folder (where release files are located), generate a release build and start the
built-in server. built-in server.
Now you can copy the sources from the <code>dist</code> folder and use it with any backend framework or Now you can copy the sources from the <code>dist</code> folder and use it with any backend framework or