Skip to content

Commit ddd797b

Browse files
committed
add a comment fix an import
1 parent 73994f6 commit ddd797b

File tree

2 files changed

+3
-0
lines changed
  • turbopack/crates

2 files changed

+3
-0
lines changed

turbopack/crates/turbopack-nft/src/nft.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ async fn node_file_trace_operation(
8989
enable_typescript_transform: Some(
9090
TypescriptTransformOptions::default().resolved_cell(),
9191
),
92+
// enable_types should not be enabled here. It gets set automatically when a TS file
93+
// is encountered.
9294
..Default::default()
9395
},
9496
css: CssOptionsContext {

turbopack/crates/turbopack-tracing/tests/unit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ use turbopack::{
2222
},
2323
};
2424
use turbopack_core::{
25+
chunk::SourceMapsType,
2526
compile_time_info::CompileTimeInfo,
2627
context::AssetContext,
2728
environment::{Environment, ExecutionEnvironment, NodeJsEnvironment},

0 commit comments

Comments
 (0)