Skip to content

Commit

Permalink
feat(next-dev): align devserver cli options to napi bindings (#2653)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Nov 12, 2022
1 parent 77a848b commit 3ffbec1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions crates/next-dev/src/devserver_options.rs
Expand Up @@ -66,18 +66,23 @@ pub struct DevServerOptions {
pub log_detail: bool,

// Inherited options from next-dev, need revisit later.
// These are not supported by CLI yet.
#[cfg(feature = "serializable")]
#[cfg_attr(feature = "cli", clap(long))]
#[cfg_attr(feature = "serializable", serde(default))]
/// If port is not explicitly specified, use different port if it's already
/// in use.
pub allow_retry: bool,
#[cfg(feature = "serializable")]
#[cfg_attr(feature = "cli", clap(long))]
#[cfg_attr(feature = "serializable", serde(default))]
/// Internal for next.js, no specific usage yet.
pub dev: bool,
#[cfg(feature = "serializable")]
#[cfg_attr(feature = "cli", clap(long))]
#[cfg_attr(feature = "serializable", serde(default))]
/// Internal for next.js, no specific usage yet.
pub is_next_dev_command: bool,
#[cfg(feature = "serializable")]
#[cfg_attr(feature = "cli", clap(long))]
#[cfg_attr(feature = "serializable", serde(default))]
/// Specify server component external packages explicitly. This is an
/// experimental flag.
pub server_components_external_packages: Vec<String>,
}

Expand Down

1 comment on commit 3ffbec1

@vercel
Copy link

@vercel vercel bot commented on 3ffbec1 Nov 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

examples-nonmonorepo – ./examples/non-monorepo

examples-nonmonorepo.vercel.sh
examples-nonmonorepo-git-main.vercel.sh

Please sign in to comment.