From 713c062ec322081514f851597751b06c6a9b3109 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Thu, 2 Nov 2017 23:01:04 +0200 Subject: [PATCH] Build demo using UMD modules --- build-example-site.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build-example-site.sh b/build-example-site.sh index c43c93e..4d12a37 100755 --- a/build-example-site.sh +++ b/build-example-site.sh @@ -4,11 +4,15 @@ set -ex SHA=$(git rev-parse HEAD) -# Prerendering seems to work best on React 16 -cd test-environments/browser-node-react-16 +cd test-environments/browser-umd-react-16 lein do clean, cljsbuild once prod +cd ../.. + +# Prerendering seems to work best on React 16 +cd test-environments/browser-node-react-16 + lein cljsbuild once prerender node target/cljsbuild/prerender/main.js