mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-18 04:35:10 +00:00
Merge branch 'master' of github.com:sveltejs/sapper-template
This commit is contained in:
@@ -61,7 +61,7 @@ Sapper uses webpack to provide code-splitting, dynamic imports and hot module re
|
|||||||
|
|
||||||
## Production mode and deployment
|
## Production mode and deployment
|
||||||
|
|
||||||
To start a production version of your app, run `npm start`. This will disable hot module replacement, and activate the appropriate webpack plugins.
|
To start a production version of your app, run `npm run build && npm start`. This will disable hot module replacement, and activate the appropriate webpack plugins.
|
||||||
|
|
||||||
You can deploy your application to any environment that supports Node 8 or above. As an example, to deploy to [Now](https://zeit.co/now), run these commands:
|
You can deploy your application to any environment that supports Node 8 or above. As an example, to deploy to [Now](https://zeit.co/now), run these commands:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user