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 BundleOptions

Properties

Allow remote modules to be loaded or read from the cache.

The cache root to use, overriding the default inferred DENO_DIR.

The setting to use when loading sources from the Deno cache.

Compiler options which can be set when bundling.

An import-map which will be applied to the imports, or the URL of an import map, or the path to an import map

optional
load: FetchCacher["load"]

Override the default loading mechanism with a custom loader. This can provide a way to use "in-memory" resources instead of fetching them remotely.

optional
minify: boolean

Minify compiled code, default false.

optional
type: "module" | "classic"

Should the emitted bundle be an ES module or an IIFE script. The default is "module" to output a ESM module.

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 BundleOptions } from "@kingsword/deno-emit-inline";
or

Import directly with a jsr specifier

import { type BundleOptions } 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 BundleOptions } 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 BundleOptions } from "@kingsword/deno-emit-inline";

Add Package

npx jsr add @kingsword/deno-emit-inline

Import symbol

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

Add Package

bunx jsr add @kingsword/deno-emit-inline

Import symbol

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