Age | Commit message (Collapse) | Author |
|
|
|
Removes duplicate implementation of the module resolution algorithm
|
|
This commit removes support for importing JSON files as modules.
This change is dictated by security; browsers rolled back on this
support as well.
|
|
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
|
|
|
|
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.
|
|
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
- moves compiler implementation to "cli/js/compiler/" directory
- moves more APIs to "cli/js/web":
* "console.ts"
* "console_table.ts"
* "performance.ts"
* "timers.ts"
* "workers.ts"
- removes some dead code from "cli/js/"
|