Skip to main content
Home

Transpile and bundle JavaScript and TypeScript under Deno and Deno Deploy.

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
It is unknown whether this package works with Browsers
JSR Score
94%
Published
a week ago (0.0.4)
interface CompilerOptions

Properties

optional
checkJs: boolean

Whether to use TypeScript's experimental decorators.

Determines if reflection meta data is emitted for legacy decorators or not. Defaults to false.

When set, instead of writing out a .js.map file to provide source maps, the source map will be embedded the source map content in the .js files.

Although this results in larger JS files, it can be convenient in some scenarios. For example, you might want to debug JS files on a webserver that doesn’t allow .map files to be served.

When set, the original content of the .ts file as an embedded string in the source map (using the source map’s sourcesContent property).

This is often useful in the same cases as inlineSourceMap.

optional
jsx:
"precompile"
| "preserve"
| "react-jsx"
| "react-jsxdev"
| "react-native"
| "react"

Controls how JSX constructs are emitted in JavaScript files. This only affects output of JS files that started in .jsx or .tsx files.

Changes the function called in .js files when compiling JSX Elements using the classic JSX runtime. The most common change is to use "h" or "preact.h".

Specify the JSX fragment factory function to use when targeting react JSX emit with jsxFactory compiler option is specified, e.g. Fragment.

The string module specifier to implicitly import JSX factories from when transpiling JSX.

Enables the generation of sourcemap files.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@kingsword/deno-emit-inline

Import symbol

import { type CompilerOptions } from "@kingsword/deno-emit-inline";
or

Import directly with a jsr specifier

import { type CompilerOptions } from "jsr:@kingsword/deno-emit-inline";

Add Package

pnpm i jsr:@kingsword/deno-emit-inline
or (using pnpm 10.8 or older)
pnpm dlx jsr add @kingsword/deno-emit-inline

Import symbol

import { type CompilerOptions } from "@kingsword/deno-emit-inline";

Add Package

yarn add jsr:@kingsword/deno-emit-inline
or (using Yarn 4.8 or older)
yarn dlx jsr add @kingsword/deno-emit-inline

Import symbol

import { type CompilerOptions } from "@kingsword/deno-emit-inline";

Add Package

npx jsr add @kingsword/deno-emit-inline

Import symbol

import { type CompilerOptions } from "@kingsword/deno-emit-inline";

Add Package

bunx jsr add @kingsword/deno-emit-inline

Import symbol

import { type CompilerOptions } from "@kingsword/deno-emit-inline";