summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-21 11:20:18 -0400
committerGitHub <noreply@github.com>2022-10-21 15:20:18 +0000
commitbcfe279fba865763c87f9cd8d5a2d0b2cbf451be (patch)
tree68e4d1bc52e261df50279f9ecea14795d1c46f6c /cli/build.rs
parent0e1a71fec6fff5fe62d7e6b2bfffb7ab877d7b71 (diff)
feat(unstable/npm): initial type checking of npm specifiers (#16332)
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 98d044a3e..b72153871 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -202,6 +202,11 @@ fn create_compiler_snapshot(
}
#[op]
+ fn op_is_node_file() -> bool {
+ false
+ }
+
+ #[op]
fn op_script_version(
_state: &mut OpState,
_args: Value,
@@ -266,6 +271,7 @@ fn create_compiler_snapshot(
op_build_info::decl(),
op_cwd::decl(),
op_exists::decl(),
+ op_is_node_file::decl(),
op_load::decl(),
op_script_version::decl(),
])