File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
resources/js/electron-plugin Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function shouldMigrateDatabase(store) {
33
33
&& process . env . NODE_ENV !== 'development' ;
34
34
}
35
35
function shouldOptimize ( store ) {
36
- return true ;
36
+ return process . env . NODE_ENV !== 'development' ;
37
37
}
38
38
function getPhpPort ( ) {
39
39
return __awaiter ( this , void 0 , void 0 , function * ( ) {
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ function shouldOptimize(store) {
38
38
* the cached config is not picked up on subsequent launches,
39
39
* so we'll just rebuilt it every time for now
40
40
*/
41
- return true ;
41
+
42
+ return process . env . NODE_ENV !== 'development' ;
42
43
// return runningSecureBuild();
43
44
// return runningSecureBuild() && store.get('optimized_version') !== app.getVersion();
44
45
}
You can’t perform that action at this time.
0 commit comments