From 5f240ada590bcbf6108f4145cb7574b09a858347 Mon Sep 17 00:00:00 2001 From: Dick Choi Date: Tue, 4 Oct 2016 11:57:12 +0900 Subject: [PATCH] apply devtron --- browser/main/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/browser/main/index.js b/browser/main/index.js index 56dffb11..4175b814 100644 --- a/browser/main/index.js +++ b/browser/main/index.js @@ -25,6 +25,10 @@ document.addEventListener('dragover', function (e) { e.stopPropagation() }) +if (process.env !== 'production') { + require('devtron').install() +} + let el = document.getElementById('content') const history = syncHistoryWithStore(hashHistory, store)