mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-15 21:03:47 +00:00
Merge pull request #773 from ZacharyZcR/fix/macos-electron-esm-error
fix: override package.json type to commonjs for electron builds
This commit is contained in:
@@ -35,7 +35,8 @@
|
|||||||
"!public/icons/**/*"
|
"!public/icons/**/*"
|
||||||
],
|
],
|
||||||
"extraMetadata": {
|
"extraMetadata": {
|
||||||
"main": "electron/main.cjs"
|
"main": "electron/main.cjs",
|
||||||
|
"type": "commonjs"
|
||||||
},
|
},
|
||||||
"buildDependenciesFromSource": false,
|
"buildDependenciesFromSource": false,
|
||||||
"nodeGypRebuild": false,
|
"nodeGypRebuild": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user