diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-18 16:09:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 20:09:13 +0000 |
commit | d33369c6c737718e02d61ae1b3a3231896d5a9b1 (patch) | |
tree | 10c55cce5e347293cb644e086fdd57aa33e8427b /cli/build.rs | |
parent | 4c1f3daa837932ec149b445468b95505f4775ef3 (diff) |
perf(core): use static specifier in ExtensionFileSource (#18271)
Relanding #18264
-------
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/build.rs b/cli/build.rs index 9068723d4..c2269aca3 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -320,7 +320,7 @@ deno_core::extension!( ], customizer = |ext: &mut ExtensionBuilder| { ext.esm(vec![ExtensionFileSource { - specifier: "runtime/js/99_main.js".to_string(), + specifier: "ext:cli/runtime/js/99_main.js", code: ExtensionFileSourceCode::LoadedFromFsDuringSnapshot( std::path::PathBuf::from(deno_runtime::js::PATH_FOR_99_MAIN_JS), ), |