File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ const ipc = electron.ipcRenderer
1212const path = require ( 'path' )
1313import { syncHistoryWithStore } from 'react-router-redux'
1414
15+ const PRO = process . env . NODE_ENV === 'production'
16+ if ( ! PRO ) require ( 'devtron' ) . install ( )
17+
1518const remote = electron . remote
1619
1720let config = fetchConfig ( )
Original file line number Diff line number Diff line change 6363 "babel-preset-react" : " ^6.3.13" ,
6464 "babel-preset-react-hmre" : " ^1.0.1" ,
6565 "css-loader" : " ^0.19.0" ,
66+ "devtron" : " ^1.1.0" ,
6667 "electron-packager" : " ^6.0.0" ,
6768 "electron-prebuilt" : " ^0.36.12" ,
6869 "electron-release" : " ^2.2.0" ,
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ var config = {
4141 '@rokt33r/sanitize-html' ,
4242 'markdown-it-checkbox' ,
4343 'season' ,
44+ 'devtron' ,
4445 {
4546 react : 'var React' ,
4647 'react-dom' : 'var ReactDOM' ,
You can’t perform that action at this time.
0 commit comments