summaryrefslogtreecommitdiff
path: root/cli/module_graph2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/module_graph2.rs')
-rw-r--r--cli/module_graph2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_graph2.rs b/cli/module_graph2.rs
index 4895cc53a..fd4d46461 100644
--- a/cli/module_graph2.rs
+++ b/cli/module_graph2.rs
@@ -575,7 +575,7 @@ pub struct TranspileOptions {
/// A dependency graph of modules, were the modules that have been inserted via
/// the builder will be loaded into the graph. Also provides an interface to
/// be able to manipulate and handle the graph.
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct Graph2 {
/// A reference to the specifier handler that will retrieve and cache modules
/// for the graph.