diff options
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/build.rs b/cli/build.rs index eca254fa2..4fe6fd1ea 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -325,7 +325,7 @@ mod ts { } } -#[cfg(not(feature = "__runtime_js_sources"))] +#[cfg(not(feature = "hmr"))] fn create_cli_snapshot(snapshot_path: PathBuf) { use deno_runtime::ops::bootstrap::SnapshotOptions; @@ -469,7 +469,7 @@ fn main() { let compiler_snapshot_path = o.join("COMPILER_SNAPSHOT.bin"); ts::create_compiler_snapshot(compiler_snapshot_path, &c); - #[cfg(not(feature = "__runtime_js_sources"))] + #[cfg(not(feature = "hmr"))] { let cli_snapshot_path = o.join("CLI_SNAPSHOT.bin"); create_cli_snapshot(cli_snapshot_path); |