diff --git a/src/web/index.pug b/src/web/index.pug index dd312fb035a22f0d0a2820a6014c6e8c423ae4e1..8ebe34858f173c45959d897319924f0608cd9dad 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