1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-13 16:26:08 -05:00
denoland-deno/cli/js/compiler
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
..
api.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
bootstrap.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
bundler.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
host.ts Provide compiled JSON to TypeScript compiler. (#4404) 2020-03-18 12:39:53 -04:00
imports.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
sourcefile.ts Provide compiled JSON to TypeScript compiler. (#4404) 2020-03-18 12:39:53 -04:00
ts_global.d.ts reorg: cli/js/compiler/, move more API to cli/js/web/ (#4310) 2020-03-11 10:53:06 +01:00
type_directives.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
util.ts Provide compiled JSON to TypeScript compiler. (#4404) 2020-03-18 12:39:53 -04:00