Skip to main content
Module

x/bundler/mod.ts>JSONPlugin

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

Methods

createAsset(
input: string,
type: DependencyType,
_bundler: Bundler,
_options?: CreateAssetOptions,
): Promise<Asset> | Asset
createBundle(
chunk: Chunk,
source: Source,
_bundler: Bundler,
unnamed 3?: CreateBundleOptions,
): Promise<Bundle> | Bundle
createChunk(
asset: Asset,
_chunkAssets: Set<Asset>,
_bundler: Bundler,
unnamed 3?: CreateChunkOptions,
)
createSource(
input: string,
bundler?: Bundler | undefined,
)
optimizeSource(source: Source)
test(
input: string,
type: DependencyType,
format: DependencyFormat,
)