mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(monorepo): use hoisted pattern as it might help signing
This commit is contained in:
parent
de2de04f35
commit
762da51183
@ -42,11 +42,11 @@ module.exports = {
|
||||
to: join(outputDir, "assets")
|
||||
},
|
||||
{
|
||||
from: "node_modules/@electron/remote",
|
||||
from: "../../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")
|
||||
},
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ function buildFilesToCopy() {
|
||||
|
||||
for (const nodePath of nodePaths) {
|
||||
files.push({
|
||||
from: join("node_modules", nodePath),
|
||||
from: join("..", "..", "node_modules", nodePath),
|
||||
to: join(outputDir, "node_modules", nodePath)
|
||||
})
|
||||
}
|
||||
|
@ -19,4 +19,4 @@ onlyBuiltDependencies:
|
||||
- fs-xattr
|
||||
- macos-alias
|
||||
|
||||
nodeLinker: isolated
|
||||
nodeLinker: hoisted
|
||||
|
Loading…
x
Reference in New Issue
Block a user