diff options
Diffstat (limited to 'cli/tools/compile.rs')
-rw-r--r-- | cli/tools/compile.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs index a77845334..2ce03e353 100644 --- a/cli/tools/compile.rs +++ b/cli/tools/compile.rs @@ -3,7 +3,6 @@ use crate::args::CompileFlags; use crate::args::Flags; use crate::factory::CliFactory; -use crate::graph_util::error_for_any_npm_specifier; use crate::standalone::is_standalone_binary; use crate::util::path::path_has_trailing_slash; use deno_core::anyhow::bail; @@ -50,12 +49,6 @@ pub async fn compile( ) .unwrap(); - if !cli_options.unstable() { - error_for_any_npm_specifier(&graph).context( - "Using npm specifiers with deno compile requires the --unstable flag.", - )?; - } - let parser = parsed_source_cache.as_capturing_parser(); let eszip = eszip::EszipV2::from_graph(graph, &parser, Default::default())?; |