We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150100d commit 9ea86d7Copy full SHA for 9ea86d7
crates/next-custom-transforms/src/transforms/server_actions.rs
@@ -1921,13 +1921,7 @@ impl<C: Comments> VisitMut for ServerActions<C> {
1921
// sourcemapping with better logs/errors
1922
// For production this is not generated because it would
1923
// leak server code when available from the browser.
1924
- span: if self.config.is_react_server_layer
1925
- || self.config.is_development
1926
- {
1927
- call_expr_span
1928
- } else {
1929
- PURE_SP
1930
- },
+ span: call_expr_span,
1931
callee: Callee::Expr(Box::new(Expr::Ident(
1932
create_ref_ident.clone(),
1933
))),
0 commit comments