Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fed_dev/mod.ts>JSONPlugin

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

Methods

createAsset(
input: string,
type: DependencyType,
context: CreateAssetContext,
): Promise<Asset>
createBundle(chunk: Chunk, _context: CreateBundleContext)
createChunk(
asset: Asset,
_chunkAssets: Set<Asset>,
context: CreateChunkContext,
)
optimizeSource(source: Source)
test(
input: string,
type: DependencyType,
format: DependencyFormat,
)