Fix various build issues (#1942)

* remove dynamic import for platform features

* increase node memory limit on macOS build

* fix invalid dynamic imports in renderer

* remove discord-rpc import in renderer
This commit is contained in:
Jeff
2026-04-10 01:54:11 -07:00
committed by GitHub
parent 2a6e9b6ad3
commit 16c9e6cc1b
8 changed files with 30 additions and 33 deletions
+8 -1
View File
@@ -1,2 +1,9 @@
import './core';
import(`./${process.platform}`);
if (process.platform === 'linux') {
import('./linux');
} else if (process.platform === 'darwin') {
import('./darwin');
} else if (process.platform === 'win32') {
import('./win32');
}
+1
View File
@@ -0,0 +1 @@
export {};