chore(monorepo): use hoisted pattern as it might help signing

This commit is contained in:
Elian Doran 2025-05-01 22:37:19 +03:00
parent de2de04f35
commit 762da51183
No known key found for this signature in database
3 changed files with 19 additions and 19 deletions

View File

@ -42,11 +42,11 @@ module.exports = {
to: join(outputDir, "assets") to: join(outputDir, "assets")
}, },
{ {
from: "node_modules/@electron/remote", from: "../../node_modules/@electron/remote",
to: join(outputDir, "node_modules/@electron/remote") to: join(outputDir, "node_modules/@electron/remote")
}, },
{ {
from: "node_modules/prebuild-install", from: "../../node_modules/prebuild-install",
to: join(outputDir, "node_modules/better-sqlite3/node_modules/prebuild-install") to: join(outputDir, "node_modules/better-sqlite3/node_modules/prebuild-install")
}, },
{ {

View File

@ -36,7 +36,7 @@ function buildFilesToCopy() {
for (const nodePath of nodePaths) { for (const nodePath of nodePaths) {
files.push({ files.push({
from: join("node_modules", nodePath), from: join("..", "..", "node_modules", nodePath),
to: join(outputDir, "node_modules", nodePath) to: join(outputDir, "node_modules", nodePath)
}) })
} }

View File

@ -19,4 +19,4 @@ onlyBuiltDependencies:
- fs-xattr - fs-xattr
- macos-alias - macos-alias
nodeLinker: isolated nodeLinker: hoisted