summaryrefslogtreecommitdiff
path: root/cli/js.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-07-19 19:49:44 +0200
committerGitHub <noreply@github.com>2020-07-19 19:49:44 +0200
commitfa61956f03491101b6ef64423ea2f1f73af26a73 (patch)
treec3800702071ca78aa4dd71bdd0a59a9bbe460bdd /cli/js.rs
parent53adde866dd399aa2509d14508642fce37afb8f5 (diff)
Port internal TS code to JS (#6793)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js.rs')
-rw-r--r--cli/js.rs14
1 files changed, 4 insertions, 10 deletions
diff --git a/cli/js.rs b/cli/js.rs
index cf8d465f1..852a15247 100644
--- a/cli/js.rs
+++ b/cli/js.rs
@@ -2,19 +2,13 @@ pub const TS_VERSION: &str = env!("TS_VERSION");
pub static CLI_SNAPSHOT: &[u8] =
include_bytes!(concat!(env!("OUT_DIR"), "/CLI_SNAPSHOT.bin"));
-pub static CLI_SNAPSHOT_MAP: &[u8] =
- include_bytes!(concat!(env!("OUT_DIR"), "/CLI_SNAPSHOT.js.map"));
-
pub static COMPILER_SNAPSHOT: &[u8] =
include_bytes!(concat!(env!("OUT_DIR"), "/COMPILER_SNAPSHOT.bin"));
-pub static COMPILER_SNAPSHOT_MAP: &[u8] =
- include_bytes!(concat!(env!("OUT_DIR"), "/COMPILER_SNAPSHOT.js.map"));
-
-pub static DENO_NS_LIB: &str = include_str!("js/lib.deno.ns.d.ts");
+pub static DENO_NS_LIB: &str = include_str!("js2/lib.deno.ns.d.ts");
pub static SHARED_GLOBALS_LIB: &str =
- include_str!("js/lib.deno.shared_globals.d.ts");
-pub static WINDOW_LIB: &str = include_str!("js/lib.deno.window.d.ts");
-pub static UNSTABLE_NS_LIB: &str = include_str!("js/lib.deno.unstable.d.ts");
+ include_str!("js2/lib.deno.shared_globals.d.ts");
+pub static WINDOW_LIB: &str = include_str!("js2/lib.deno.window.d.ts");
+pub static UNSTABLE_NS_LIB: &str = include_str!("js2/lib.deno.unstable.d.ts");
#[test]
fn cli_snapshot() {