diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-07-19 19:49:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 19:49:44 +0200 |
commit | fa61956f03491101b6ef64423ea2f1f73af26a73 (patch) | |
tree | c3800702071ca78aa4dd71bdd0a59a9bbe460bdd /cli/js.rs | |
parent | 53adde866dd399aa2509d14508642fce37afb8f5 (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.rs | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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() { |