From e8b81067e9d58785b633fdbecf3810d7f746788b Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 25 Dec 2017 21:08:27 +0200 Subject: Optimize for prod --- .gitignore | 1 + package.json | 4 ++-- src/components/contact.tag | 6 +++--- src/index.html | 17 +++++------------ 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index e2de7e4..e09331e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Caddyfile node_modules +build \ No newline at end of file diff --git a/package.json b/package.json index d6a676d..19f6e3c 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,11 @@ "author": "Jan Tuomi ", "license": "MIT", "scripts": { - "start": "nodemon --exec caddy" + "build": "cp src/index.html src/style.css build/ && riot src build/bundle.js", + "start": "caddy" }, "dependencies": { "node-sass": "^4.7.2", - "nodemon": "^1.14.1", "riot": "^3.7.4" } } diff --git a/src/components/contact.tag b/src/components/contact.tag index e223e5d..c4a2815 100644 --- a/src/components/contact.tag +++ b/src/components/contact.tag @@ -1,18 +1,18 @@
- +