We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
output:standalone
1 parent c35ef22 commit 5b6da7aCopy full SHA for 5b6da7a
crates/next-api/src/next_server_nft.rs
@@ -39,14 +39,15 @@ enum ServerNftType {
39
#[turbo_tasks::function]
40
pub async fn next_server_nft_assets(project: Vc<Project>) -> Result<Vc<OutputAssets>> {
41
let has_next_support = *project.ci_has_next_support().await?;
42
+ let is_standalone = *project.next_config().is_standalone().await?;
43
44
let minimal = ResolvedVc::upcast(
45
ServerNftJsonAsset::new(project, ServerNftType::Minimal)
46
.to_resolved()
47
.await?,
48
);
49
- if has_next_support {
50
+ if has_next_support && !is_standalone {
51
Ok(Vc::cell(vec![minimal]))
52
} else {
53
Ok(Vc::cell(vec![
0 commit comments