mirror of
https://github.com/denoland/deno.git
synced 2024-11-13 16:26:08 -05:00
da8cb408c8
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. |
||
---|---|---|
.. | ||
api.ts | ||
bootstrap.ts | ||
bundler.ts | ||
host.ts | ||
imports.ts | ||
sourcefile.ts | ||
ts_global.d.ts | ||
type_directives.ts | ||
util.ts |