From 09ae7a08e6ec6dfdfb28a4cba1c3dc303aaf68f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alvaro=20Cabrera=20Dur=C3=A1n?= <pateketrueke@gmail.com>
Date: Tue, 22 Oct 2019 23:38:57 -0500
Subject: [PATCH] Use local version during development

---
 src/web/index.pug | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/web/index.pug b/src/web/index.pug
index dd312fb0..8ebe3485 100644
--- a/src/web/index.pug
+++ b/src/web/index.pug
@@ -19,7 +19,10 @@ html
       window.Buffer = Function
       window.TIME = new Date()
     script(src='js/app.js' defer)
-    script(src='//unpkg.com/json-schema-faker')
+    if env.NODE_ENV === 'production'
+      script(src='//unpkg.com/json-schema-faker')
+    else
+      script(src='bundle.js' defer)
   body
     .Toolbar.f
       .p.oh.rel
-- 
GitLab