Skip to main content
Module

x/bundler/mod.ts>TypescriptPlugin

A Bundler with the web in mind.
Latest
class TypescriptPlugin
extends TextFilePlugin
Re-export
import { TypescriptPlugin } from "https://deno.land/x/bundler@0.9.0/mod.ts";

Constructors

new
TypescriptPlugin(compilerOptions?: ts.CompilerOptions)

Methods

createAsset(
input: string,
type: DependencyType,
bundler: Bundler,
unnamed 3?: CreateAssetOptions,
)
createBundle(
chunk: Chunk,
ast: Source,
bundler: Bundler,
unnamed 3?: CreateBundleOptions,
)
createChunk(
asset: Asset,
chunkAssets: Set<Asset>,
_bundler?: Bundler,
unnamed 3?: CreateChunkOptions,
): Promise<Chunk>
createSource(
input: string,
bundler?: Bundler,
unnamed 2?: CreateAssetOptions,
)
getDependencies(
input: string,
_type: DependencyType,
_format: DependencyFormat,
source: Source,
)
readSource(
input: string,
bundler?: Bundler,
unnamed 2?: { importMap?: ImportMap; reload?: boolean; },
)
splitDependencies(
asset: Asset,
_bundler: Bundler,
)
test(
input: string,
_type: DependencyType,
format: DependencyFormat,
)