Skip to content

Commit

Permalink
Merge pull request #158 from caorushizi/fix/scripts
Browse files Browse the repository at this point in the history
fix: 🐛  npm rebuild
  • Loading branch information
caorushizi authored May 26, 2024
2 parents ab50c1b + ca00e72 commit b2183ff
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 b2183ff

Please sign in to comment.