mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04: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 |