Skip to content

Commit

Permalink
fix: 🐛 npm rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
caorushizi committed May 26, 2024
1 parent 532e361 commit ca00e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function getReleaseConfig(): Configuration {
copyright: process.env.APP_COPYRIGHT,
artifactName: "${productName}-setup-${arch}-${buildVersion}.${ext}",
// FIXME: 这里屏蔽 node-pty 自动重构,因为会导致打包失败
npmRebuild: false,
npmRebuild: true,
directories: {
output: "./release",
},
Expand Down

0 comments on commit ca00e72

Please sign in to comment.