Skip to content

build as plain js bundle without embedded bun#33

Open
ralphptorres wants to merge 2 commits into
ProtonDriveApps:mainfrom
ralphptorres:feat/build-bundle
Open

build as plain js bundle without embedded bun#33
ralphptorres wants to merge 2 commits into
ProtonDriveApps:mainfrom
ralphptorres:feat/build-bundle

Conversation

@ralphptorres

Copy link
Copy Markdown

adds a --no-compile flag to build-cli.mjs and a build:bundle script that omits --compile and --bytecode from the bun build, producing release/proton-drive.js instead of a self-contained binary. useful for distribution packaging where bun is already a system dependency

basically bun run build:bundle. callers are responsible for wrapping the output: exec bun /path/to/proton-drive.js "$@"

allows building a plain js bundle without embedding the bun runtime,
useful for distribution packaging where bun is a system dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant