mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-12 02:15:17 +00:00
Merge pull request #20 from 1wheel/patch-1
closes #19 - production needs `npm run build`
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
|
||||
|
||||
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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user