summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
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(),
])