Skip to content

Commit

Permalink
Downgrade nw-builder and add fix-esm
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed May 23, 2023
1 parent 608248b commit 46a5ec6
Show file tree
Hide file tree
Showing 3 changed files with 640 additions and 158 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ function getLinuxPackageArch(type, arch) {
}
// Create distribution package for macOS platform
function release_osx64(appDirectory) {
const appdmg = require('./gulp-appdmg');
const appdmg = require('fix-esm').require('./gulp-appdmg');

// The appdmg does not generate the folder correctly, manually
createDirIfNotExists(RELEASE_DIR);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"del": "^6.1.1",
"eslint": "^8.24.0",
"eslint-plugin-vue": "^7.3.0",
"fix-esm": "^1.0.1",
"follow-redirects": "^1.15.2",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
Expand All @@ -113,7 +114,7 @@
"gulp-yarn": "^3.0.0",
"gulp-zip": "^5.1.0",
"husky": "^4.3.0",
"nw-builder": "^3.8.6",
"nw-builder": "3.7.4",
"os": "^0.1.2",
"postcss": "^8.4.17",
"rollup": "^3.9.0",
Expand Down
Loading

0 comments on commit 46a5ec6

Please sign in to comment.