summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-10-29 10:41:10 +1100
committerRyan Dahl <ry@tinyclouds.org>2018-10-29 08:16:35 -0700
commit8b39d2c99ef41736bb1d5b74ccda2f3aa6223e84 (patch)
treeb5598c6d1a8b3de147cf1b7b26e9f636731859d5 /src/msg.fbs
parenta68403d09006af3e7f75aacb9e818ce3bcf60b13 (diff)
Separate source map from output code.
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index a3c9bcb84..e7ebe6684 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -146,14 +146,18 @@ table CodeFetchRes {
module_name: string;
filename: string;
media_type: MediaType;
+ // TODO These should be [ubyte].
+ // See: https://github.com/denoland/deno/issues/1113
source_code: string;
output_code: string; // Non-empty only if cached.
+ source_map: string; // Non-empty only if cached.
}
table CodeCache {
filename: string;
source_code: string;
output_code: string;
+ source_map: string;
}
table Chdir {