mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
This commit is contained in:
parent
aebbdd5cc2
commit
57cad53945
8 changed files with 178 additions and 131 deletions
3
cli/dts/lib.deno.unstable.d.ts
vendored
3
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -480,8 +480,7 @@ declare namespace Deno {
|
|||
* source map.
|
||||
* @param options An option object of options to send to the compiler. This is
|
||||
* a subset of ts.CompilerOptions which can be supported by Deno.
|
||||
* Many of the options related to type checking and emitting
|
||||
* type declaration files will have no impact on the output.
|
||||
* If unsupported option is passed then the API will throw an error.
|
||||
*/
|
||||
export function transpileOnly(
|
||||
sources: Record<string, string>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue