Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fed_dev/mod.ts>TypescriptPlugin

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

Constructors

new
TypescriptPlugin(compilerOptions?: ts.CompilerOptions)

Methods

protected
readSource(input: string, unnamed 1: CreateAssetContext)
createAsset(
input: string,
type: DependencyType,
context: CreateAssetContext,
)
createBundle(chunk: Chunk, context: CreateBundleContext)
createChunk(
asset: Asset,
chunkAssets: Set<Asset>,
context: CreateChunkContext,
): Promise<Chunk>
splitAssetDependencies(asset: Asset, _context: CreateChunkContext)
test(
input: string,
_type: DependencyType,
format: DependencyFormat,
)