summaryrefslogtreecommitdiff
path: root/src/compiler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.rs')
-rw-r--r--src/compiler.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index db8d3ecd5..3b5d57ad0 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -24,7 +24,9 @@ pub struct CodeFetchOutput {
pub filename: String,
pub media_type: msg::MediaType,
pub source_code: String,
+ pub maybe_output_code_filename: Option<String>,
pub maybe_output_code: Option<String>,
+ pub maybe_source_map_filename: Option<String>,
pub maybe_source_map: Option<String>,
}
@@ -70,7 +72,9 @@ impl CodeFetchOutput {
filename,
media_type: msg::MediaType::JavaScript, // TODO
source_code,
+ maybe_output_code_filename: None,
maybe_output_code,
+ maybe_source_map_filename: None,
maybe_source_map,
})
}