From 5e34512b1d882cb387c769102af2dc71d6b97fbb Mon Sep 17 00:00:00 2001 From: Adam Pearce <1wheel@gmail.com> Date: Mon, 1 Jan 2018 20:41:02 -0500 Subject: [PATCH] closes #19 - production needs `npm run build` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea2230e..1042423 100644 --- a/README.md +++ b/README.md @@ -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: