diff options
Diffstat (limited to 'cli/msg.rs')
-rw-r--r-- | cli/msg.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/msg.rs b/cli/msg.rs index 5e9053a41..7599d874b 100644 --- a/cli/msg.rs +++ b/cli/msg.rs @@ -87,3 +87,13 @@ pub fn enum_name_media_type(mt: MediaType) -> &'static str { MediaType::Unknown => "Unknown", } } + +// Warning! The values in this enum are duplicated in js/compiler.ts +// Update carefully! +#[allow(non_camel_case_types)] +#[repr(i8)] +#[derive(Clone, Copy, PartialEq, Debug)] +pub enum CompilerRequestType { + Compile = 0, + Bundle = 1, +} |