diff options
| author | 2021-08-15 22:17:20 -0700 | |
|---|---|---|
| committer | 2021-08-15 22:17:20 -0700 | |
| commit | 23357806183eff94632915239f7b98a4046eb3d7 (patch) | |
| tree | efdd9eae103bd29f2a914eccb1f4c2e0009d3fa1 /src/cli.zig | |
| parent | bd11b04c18ef0ab5ba05b043829a729f45e53d5e (diff) | |
| download | bun-23357806183eff94632915239f7b98a4046eb3d7.tar.gz bun-23357806183eff94632915239f7b98a4046eb3d7.tar.zst bun-23357806183eff94632915239f7b98a4046eb3d7.zip | |
rename to bun
Former-commit-id: f982fc85fac3f0120e1851ad4027dd8413216439
Diffstat (limited to 'src/cli.zig')
| -rw-r--r-- | src/cli.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli.zig b/src/cli.zig index 3158f421c..5c1be01de 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -17,7 +17,7 @@ const panicky = @import("panic_handler.zig"); const sync = @import("./sync.zig"); const Api = @import("api/schema.zig").Api; const resolve_path = @import("./resolver/resolve_path.zig"); -const configureTransformOptionsForSpeedy = @import("./javascript/jsc/config.zig").configureTransformOptionsForSpeedy; +const configureTransformOptionsForBun = @import("./javascript/jsc/config.zig").configureTransformOptionsForBun; const clap = @import("clap"); const bundler = @import("bundler.zig"); @@ -132,8 +132,8 @@ pub const Cli = struct { clap.parseParam("--main-fields <STR>... Main fields to lookup in package.json. Defaults to --platform dependent") catch unreachable, clap.parseParam("--scan Instead of bundling or transpiling, print a list of every file imported by an entry point, recursively") catch unreachable, clap.parseParam("--new-jsb Generate a new node_modules.jsb file from node_modules and entry point(s)") catch unreachable, - clap.parseParam("--jsb <STR> Use a Speedy JavaScript Bundle (default: \"./node_modules.jsb\" if exists)") catch unreachable, - clap.parseParam("--jsb-for-server <STR> Use a server-only Speedy JavaScript Bundle (default: \"./node_modules.server.jsb\" if exists)") catch unreachable, + clap.parseParam("--jsb <STR> Use a Bun JavaScript Bundle (default: \"./node_modules.jsb\" if exists)") catch unreachable, + clap.parseParam("--jsb-for-server <STR> Use a server-only Bun JavaScript Bundle (default: \"./node_modules.server.jsb\" if exists)") catch unreachable, clap.parseParam("--use <STR> Use a JavaScript framework (package name or path to package)") catch unreachable, clap.parseParam("--production This sets the defaults to production. Applies to jsx & framework") catch unreachable, @@ -446,7 +446,7 @@ pub const Cli = struct { var server_bundler = try bundler.ServeBundler.init( allocator_, logs, - try configureTransformOptionsForSpeedy(allocator_, transform_args), + try configureTransformOptionsForBun(allocator_, transform_args), null, env_loader_, ); |
