diff --git a/electron-builder.yml b/electron-builder.yml index 1e79b4b..5fd069d 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -4,12 +4,25 @@ directories: output: release files: - dist-electron/**/* - - .next/standalone/**/* - - .next/static/**/* - - public/**/* + - "!node_modules" + - "!src" + - "!electron" + - "!.next" + - "!build" + - "!scripts" + - "!docs" + - "!release" extraResources: - from: .next/standalone/ to: standalone/ + filter: + - "**/*" + - "!node_modules" + - from: .next/standalone/node_modules/ + to: standalone/node_modules/ + filter: ["**/*"] + - from: .next/standalone/.next/ + to: standalone/.next/ filter: ["**/*"] - from: .next/static/ to: standalone/.next/static/