1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/cli/ops
Kitson Kelly da8cb408c8
Provide compiled JSON to TypeScript compiler. (#4404)
Fixes #4101

Previously, we would just provide the raw JSON to the TypeScript
compiler worker, but TypeScript does not transform JSON.  This caused
a problem when emitting a bundle, that the JSON would just be "inlined"
into the output, instead of being transformed into a module.

This fixes this problem by providing the compiled JSON to the TypeScript
compiler, so TypeScript just sees JSON as a "normal" TypeScript module.
2020-03-18 12:39:53 -04:00
..
compiler.rs Provide compiled JSON to TypeScript compiler. (#4404) 2020-03-18 12:39:53 -04:00
dispatch_json.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
dispatch_minimal.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
errors.rs Do not convert exceptions to JSON and back (#4214) 2020-03-02 14:20:16 -08:00
fetch.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
fs.rs Add mode option to open/create (#4289) 2020-03-16 15:02:41 -04:00
fs_events.rs fix: call unwatch when dropping FsEventsResource (#4266) 2020-03-05 20:01:08 -05:00
io.rs refactor: remove an unsafe and some boxing (#4398) 2020-03-16 10:46:31 -07:00
mod.rs refactor: remove cli/ops/files.rs (#4246) 2020-03-07 13:20:27 +01:00
net.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
os.rs feat(std/node): add os.tmpdir() implementation (#4213) 2020-03-01 19:05:04 -05:00
permissions.rs upgrade: Rust 1.42.0 (#4331) 2020-03-12 18:07:57 +01:00
plugins.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
process.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
random.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
repl.rs Allow BadResource errors to take a custom message (#4251) 2020-03-05 08:30:41 -05:00
resources.rs refactor: remove cli/ops/files.rs (#4246) 2020-03-07 13:20:27 +01:00
runtime.rs feat: update metrics to track different op types (#4221) 2020-03-02 19:13:36 +01:00
runtime_compiler.rs Remove _async from method names since _sync are gone (#4128) 2020-02-25 20:42:00 +01:00
signal.rs Allow BadResource errors to take a custom message (#4251) 2020-03-05 08:30:41 -05:00
timers.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
tls.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
tty.rs Add waker to StreamResource to fix hang on close bugs (#4293) 2020-03-11 18:19:24 -04:00
web_worker.rs Clean up how we use opIds (#4118) 2020-02-25 09:14:27 -05:00
worker_host.rs Do not convert exceptions to JSON and back (#4214) 2020-03-02 14:20:16 -08:00