Interface: MetadataDirectories
Overrides for the input and output directories used during the build.
Properties
app?
readonlyoptionalapp?:string|null
The directory that contains the application's package.json and source code.
Defaults to app, then www, then the project root. Set this when your packagable app
lives in a subdirectory (common in monorepos or when using a separate frontend build step).
buildResources?
readonlyoptionalbuildResources?:string|null
The directory that contains static build resources (icons, background images, license files, custom NSIS scripts, etc.) that electron-builder reads during packaging.
Build resources are not copied into the packaged app. If you need runtime access to a
file (e.g. a tray icon), include it explicitly via the files option:
{ "files": ["**/*", "build/icon.*"] }
Default
"build"
output?
readonlyoptionaloutput?:string|null
The directory where electron-builder writes its output (installers, zip archives, etc.).
File macros are supported, e.g.
"dist/${os}-${arch}" to separate outputs by platform and architecture.
Default
"dist"